summaryrefslogtreecommitdiff
path: root/ares/configure.ac
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2008-06-09 01:06:48 +0000
committerYang Tse <yangsita@gmail.com>2008-06-09 01:06:48 +0000
commit6cd007838dcb16573c89a39fadaf56b9a76196b9 (patch)
treef99fd437e952ca17bdab3a3d4a8730ec1f79ec2b /ares/configure.ac
parent72870e2c57bef41bb629e092e6d8eef0361d9ab1 (diff)
downloadcurl-6cd007838dcb16573c89a39fadaf56b9a76196b9.tar.gz
fix pkg-config reporting of private libraries needed for static linking
Diffstat (limited to 'ares/configure.ac')
-rw-r--r--ares/configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/ares/configure.ac b/ares/configure.ac
index d3304ae01..0cca59e3b 100644
--- a/ares/configure.ac
+++ b/ares/configure.ac
@@ -930,5 +930,8 @@ if test -n "$RANDOM_FILE" && test X"$RANDOM_FILE" != Xno ; then
[a suitable file/device to read random data from])
fi
+CARES_PRIVATE_LIBS="$LIBS"
+AC_SUBST(CARES_PRIVATE_LIBS)
+
AC_CONFIG_FILES([Makefile libcares.pc])
AC_OUTPUT