[MLton-commit] r5842

Matthew Fluet fluet at mlton.org
Thu Aug 9 15:24:40 PDT 2007


Put -I and -L paths for darwin in same order
----------------------------------------------------------------------

U   mlton/trunk/bin/mlton-script

----------------------------------------------------------------------

Modified: mlton/trunk/bin/mlton-script
===================================================================
--- mlton/trunk/bin/mlton-script	2007-08-09 21:46:09 UTC (rev 5841)
+++ mlton/trunk/bin/mlton-script	2007-08-09 22:24:40 UTC (rev 5842)
@@ -70,12 +70,12 @@
 # The darwin linker complains (loudly) about non-existent library
 # search paths.
 darwinLinkOpts=''
+if [ -d '/opt/local/lib' ]; then
+        darwinLinkOpts="$darwinLinkOpts -L/opt/local/lib"
+fi
 if [ -d '/sw/lib' ]; then
         darwinLinkOpts="$darwinLinkOpts -L/sw/lib"
 fi
-if [ -d '/opt/local/lib' ]; then
-        darwinLinkOpts="$darwinLinkOpts -L/opt/local/lib"
-fi
 
 doit "$lib" \
         -cc "$gcc"                                               \




More information about the MLton-commit mailing list