unimportant

This commit is contained in:
Cosmin Apreutesei
2015-11-03 12:49:31 +00:00
parent 15718deb03
commit f9642432fc
3 changed files with 5 additions and 3 deletions
+1
View File
@@ -1,2 +1,3 @@
[ `uname` = Linux ] && export X=i386-apple-darwin11-
P=osx32 C="-arch i386" L="-arch i386 -install_name @rpath/libz.dylib" \
D=libz.dylib A=libz.a ./build.sh
+1
View File
@@ -1,2 +1,3 @@
[ `uname` = Linux ] && export X=x86_64-apple-darwin11-
P=osx64 C="-arch x86_64" L="-arch x86_64 -install_name @rpath/libz.dylib" \
D=libz.dylib A=libz.a ./build.sh
+3 -3
View File
@@ -1,4 +1,4 @@
gcc -c -O2 $C *.c -I.
gcc *.o -shared -o ../../bin/$P/$D $L
ar rcs ../../bin/$P/$A *.o
${X}gcc -c -O2 $C *.c -I.
${X}gcc *.o -shared -o ../../bin/$P/$D $L
${X}ar rcs ../../bin/$P/$A *.o
rm *.o