From 8e34b3a8024c028dd9fd21d70525fc6d215efde5 Mon Sep 17 00:00:00 2001 From: Mark Adler Date: Fri, 9 Sep 2011 23:22:10 -0700 Subject: zlib 1.2.0.2 --- configure | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'configure') diff --git a/configure b/configure index 51ef10f..68bfc88 100755 --- a/configure +++ b/configure @@ -19,6 +19,7 @@ # an error. LIBS=libz.a +LDFLAGS="-L. ${LIBS}" SHAREDLIB=libz.so VER=`sed -n -e '/VERSION "/s/.*"\(.*\)".*/\1/p' < zlib.h` AR=${AR-"ar rc"} @@ -53,6 +54,10 @@ case "$1" in esac done +if [ $shared -eq 1 ]; then + LDFLAGS="-L. ${SHAREDLIB}" +fi + test=ztest$$ cat > $test.c < Makefile -- cgit v1.2.3-55-g6feb