zlib: also install the static lib.
--HG-- extra : convert_revision : a3b5a20480ac8d515b085c2399a3ab1ff517afee
This commit is contained in:
parent
c12edf7936
commit
d71e6de243
1 changed files with 6 additions and 4 deletions
|
@ -1,5 +1,5 @@
|
||||||
--- configure.orig 2008-10-22 16:47:11.902294688 +0200
|
--- configure.orig 2008-10-26 00:36:04.000000000 +0200
|
||||||
+++ configure 2008-10-22 16:47:24.958840636 +0200
|
+++ configure 2008-10-26 00:36:46.000000000 +0200
|
||||||
@@ -169,20 +169,9 @@ SHAREDLIBV=${SHAREDLIBV-"libz$shared_ext
|
@@ -169,20 +169,9 @@ SHAREDLIBV=${SHAREDLIBV-"libz$shared_ext
|
||||||
SHAREDLIBM=${SHAREDLIBM-"libz$shared_ext.$VER1"}
|
SHAREDLIBM=${SHAREDLIBM-"libz$shared_ext.$VER1"}
|
||||||
|
|
||||||
|
@ -9,8 +9,8 @@
|
||||||
- if test "`($CC -c $SFLAGS $test.c) 2>&1`" = "" &&
|
- if test "`($CC -c $SFLAGS $test.c) 2>&1`" = "" &&
|
||||||
- test "`($LDSHARED -o $test$shared_ext $test.o) 2>&1`" = ""; then
|
- test "`($LDSHARED -o $test$shared_ext $test.o) 2>&1`" = ""; then
|
||||||
CFLAGS="$SFLAGS"
|
CFLAGS="$SFLAGS"
|
||||||
LIBS="$SHAREDLIBV"
|
- LIBS="$SHAREDLIBV"
|
||||||
echo Building shared library $SHAREDLIBV with $CC.
|
- echo Building shared library $SHAREDLIBV with $CC.
|
||||||
- elif test -z "$old_cc" -a -z "$old_cflags"; then
|
- elif test -z "$old_cc" -a -z "$old_cflags"; then
|
||||||
- echo No shared library support.
|
- echo No shared library support.
|
||||||
- shared=0;
|
- shared=0;
|
||||||
|
@ -18,6 +18,8 @@
|
||||||
- echo 'No shared library support; try without defining CC and CFLAGS'
|
- echo 'No shared library support; try without defining CC and CFLAGS'
|
||||||
- shared=0;
|
- shared=0;
|
||||||
- fi
|
- fi
|
||||||
|
+ LIBS="libz.a $SHAREDLIBV"
|
||||||
|
+ echo Building static and shared library $SHAREDLIBV with $CC.
|
||||||
fi
|
fi
|
||||||
if test $shared -eq 0; then
|
if test $shared -eq 0; then
|
||||||
LDSHARED="$CC"
|
LDSHARED="$CC"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue