summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-05-20 11:36:05 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-05-20 11:36:05 +0200
commit55828bef6926a0eec446ca0b8503f656cc5c4a7f (patch)
treeaa540f0800ffbcb483d80c77e60069d4a1fc3b48 /configure.ac
parent9a721f1fe6c30ec231744a730f9046aa64bfae0f (diff)
Make ZLIB_LIBS self-contained so that external modules can use it
...as e.g. external/libetonyek/ExternalProject_libetonyek.mk internally does in its configure script (but where workdir/LinkTarget/StaticLibrary is not on the lib search path during linking) Change-Id: I636d3de5c831eb8ced002ec61806ccaf75cf4c91
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index e016794ea0af..a71b56552b8c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -7415,7 +7415,7 @@ else
SYSTEM_ZLIB=
BUILD_TYPE="$BUILD_TYPE ZLIB"
ZLIB_CFLAGS="-I${WORKDIR}/UnpackedTarball/zlib"
- ZLIB_LIBS="-lzlib"
+ ZLIB_LIBS="-L${WORKDIR}/LinkTarget/StaticLibrary -lzlib"
fi
AC_SUBST(ZLIB_CFLAGS)
AC_SUBST(ZLIB_LIBS)