]> git.stg.codes - stg.git/blobdiff - projects/sgconf_xml/build
Fixes due to stupid behaviour of BSD-like install.
[stg.git] / projects / sgconf_xml / build
index e6982f4ce9d12c03e9d1e4a730b4779073d42d24..7b83359b7447d9f4b71b1f249d14397efc2febbe 100755 (executable)
@@ -51,6 +51,12 @@ then
     MAKE="gmake"
 fi
 
+if [ "$sys" = "Darwin" ]
+then
+    OS=darwin
+    MAKE="gmake"
+fi
+
 if [ "$OS" = "unknown" ]
 then
     printf "#############################################################################\n"
@@ -178,6 +184,8 @@ do
 done
 printf "\n" >> $CONFFILE
 printf "LIB_THREAD=$LIB_THREAD\n" >> $CONFFILE
+printf "CC=$CC\n" >> $CONFFILE
+printf "CXX=$CXX\n" >> $CONFFILE
 printf "CXXFLAGS=$CXXFLAGS\n" >> $CONFFILE
 printf "CFLAGS=$CFLAGS\n" >> $CONFFILE
 printf "LDFLAGS=$LDFLAGS\n" >> $CONFFILE