0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-12-04 18:45:52 +00:00
termux-packages/packages/zlib/force-support-shared-library.patch
Leonid Pliushch a321371759
fix(main/zlib): enable shared library support again and fix relocation issues for static lib
Fixes 2 issues:

1. libz.so.* now available again in zlib package
2. Linking with libz.a works properly
2023-11-29 02:01:38 +02:00

13 lines
485 B
Diff

diff -uNr zlib-1.3/configure zlib-1.3.mod/configure
--- zlib-1.3/configure 2023-08-18 11:45:36.000000000 +0300
+++ zlib-1.3.mod/configure 2023-11-29 01:51:17.924387123 +0200
@@ -438,7 +438,7 @@
extern int getchar();
int hello() {return getchar();}
EOF
-if test $shared -eq 1; then
+if false; then
echo Checking for shared library support... | tee -a configure.log
# we must test in two steps (cc then ld), required at least on SunOS 4.x
if try $CC -w -c $SFLAGS $test.c &&