[svn:parrot] r44318 - trunk/runtime/parrot/library

fperrad at svn.parrot.org fperrad at svn.parrot.org
Mon Feb 22 21:48:23 UTC 2010


Author: fperrad
Date: Mon Feb 22 21:48:22 2010
New Revision: 44318
URL: https://trac.parrot.org/parrot/changeset/44318

Log:
[distutils] cc_run : fix link with mingw

Modified:
   trunk/runtime/parrot/library/distutils.pir

Modified: trunk/runtime/parrot/library/distutils.pir
==============================================================================
--- trunk/runtime/parrot/library/distutils.pir	Mon Feb 22 21:46:41 2010	(r44317)
+++ trunk/runtime/parrot/library/distutils.pir	Mon Feb 22 21:48:22 2010	(r44318)
@@ -4544,14 +4544,14 @@
     cmd .= cflags
   L1:
     cmd .= " "
+    cmd .= srcname
+    cmd .= " "
     $S0 = get_ldflags()
     cmd .= $S0
     unless has_ldflags goto L2
     cmd .= " "
     cmd .= ldflags
   L2:
-    cmd .= " "
-    cmd .= srcname
     cmd .= " -o "
     cmd .= exename
     system(cmd, verbose :named('verbose'), 1 :named('ignore_error'))


More information about the parrot-commits mailing list