summaryrefslogtreecommitdiff
path: root/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
commit4ccd0a85b129b245e890f50a021084a9062e194f (patch)
treecedb66220c6a887c3c1a6de5cf4e43fb4a1ce667 /configure.ac
parentf953ff981cea08674f82f8934ed454b1ca1166eb (diff)
downloadc-ares-4ccd0a85b129b245e890f50a021084a9062e194f.tar.gz
c-ares-4ccd0a85b129b245e890f50a021084a9062e194f.tar.bz2
c-ares-4ccd0a85b129b245e890f50a021084a9062e194f.zip
fix pkg-config reporting of private libraries needed for static linking
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index d3304ae..0cca59e 100644
--- a/configure.ac
+++ b/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