fix pkg-config reporting of private libraries needed for static linking

This commit is contained in:
Yang Tse 2008-06-09 01:06:48 +00:00
parent 72870e2c57
commit 6cd007838d
4 changed files with 13 additions and 3 deletions

View File

@ -1,5 +1,10 @@
Changelog for the c-ares project
* Jun 9 2008 (Yang Tse)
- Make libcares.pc generated file for pkg-config include information relative
to the libraries needed for the static linking of c-ares.
* May 30 2008 (Yang Tse)
- Brad House fixed a missing header file inclusion in adig sample program.

View File

@ -1,10 +1,11 @@
This is what's new and changed in the c-ares 1.5.3 release:
o adig sample application compilation failure on some systems
o fix adig sample application compilation failure on some systems
o fix pkg-config reporting of private libraries needed for static linking
Thanks go to these friendly people for their efforts and contributions:
Brad House
Brad House, Yang Tse
and obviously Daniel Stenberg
Have fun!

View File

@ -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

View File

@ -3,7 +3,7 @@
# / __|____ / _` | '__/ _ \/ __|
# | (_|_____| (_| | | | __/\__ \
# \___| \__,_|_| \___||___/
# $id: $
# $Id$
#
prefix=@prefix@
exec_prefix=@exec_prefix@
@ -18,3 +18,4 @@ Requires:
Requires.private:
Cflags: -I${includedir}
Libs: -L${libdir} -lcares
Libs.private: @CARES_PRIVATE_LIBS@