mirror of
https://github.com/vxcontrol/lualibs-zlib.git
synced 2026-07-01 10:05:29 -04:00
fix build scripts
This commit is contained in:
Binary file not shown.
Executable
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Executable
BIN
Binary file not shown.
Binary file not shown.
Regular → Executable
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,2 +0,0 @@
|
||||
/* force mempcy to be from earlier compatible system */
|
||||
__asm__(".symver memcpy,memcpy@GLIBC_2.2.5");
|
||||
Executable
+1
@@ -0,0 +1 @@
|
||||
P=linux32 C="-m32 -fPIC" L="-m32 -s -static-libgcc" D=libz.so A=libz.a ./build.sh
|
||||
@@ -1 +1 @@
|
||||
P=linux64 C="-fPIC -include _memcpy.h -DHAVE_UNISTD_H" L="-s -static-libgcc" D=libz.so A=libz.a ./build.sh
|
||||
P=linux64 C="-fPIC" L="-s -static-libgcc" D=libz.so A=libz.a ./build.sh
|
||||
|
||||
Executable
+2
@@ -0,0 +1,2 @@
|
||||
[ `uname` = Linux ] && { export X=i686-w64-mingw32-; }
|
||||
P=mingw32 C="-DZLIB_DLL -fPIC" L="-s -static-libgcc" D=z.dll A=z.a ./build.sh
|
||||
@@ -1 +1,2 @@
|
||||
P=mingw64 C=-DZLIB_DLL L="-s -static-libgcc" D=z.dll A=z.a ./build.sh
|
||||
[ `uname` = Linux ] && { export X=x86_64-w64-mingw32-; }
|
||||
P=mingw64 C="-DZLIB_DLL -fPIC" L="-s -static-libgcc" D=z.dll A=z.a ./build.sh
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
[ `uname` = Linux ] && export X=x86_64-apple-darwin11-
|
||||
P=osx64 C="-arch x86_64 -mmacosx-version-min=10.9" \
|
||||
L="-arch x86_64 -mmacosx-version-min=10.9 -install_name @rpath/libz.dylib" \
|
||||
[ `uname` = Linux ] && { export X=x86_64-apple-darwin19-; export CC=clang; }
|
||||
P=osx64 C="-arch x86_64 -fPIC" L="-arch x86_64 -undefined dynamic_lookup -install_name @rpath/libz.dylib" \
|
||||
D=libz.dylib A=libz.a ./build.sh
|
||||
|
||||
+4
-3
@@ -1,6 +1,7 @@
|
||||
${X}gcc -c -O2 $C -DHAVE_MEMCPY *.c -I.
|
||||
${X}gcc *.o -shared -o ../../bin/$P/$D $L
|
||||
[ "$CC" ] || CC=gcc
|
||||
mkdir -p ../../bin/$P
|
||||
${X}${CC} -c -O2 $C *.c -I.
|
||||
${X}${CC} *.o -shared -o ../../bin/$P/$D $L
|
||||
rm -f ../../bin/$P/$A
|
||||
rm -f ../../bin/$P/$A
|
||||
${X}ar rcs ../../bin/$P/$A *.o
|
||||
rm *.o
|
||||
|
||||
Reference in New Issue
Block a user