]> git.pld-linux.org Git - packages/apr-util.git/blame - apr-util-link.patch
- added link patch to link with used libs
[packages/apr-util.git] / apr-util-link.patch
CommitLineData
77bbdc19
JB
1--- apr-util/configure.in.orig 2003-08-29 00:17:18.000000000 +0200
2+++ apr-util/configure.in 2003-10-05 22:59:22.686006816 +0200
3@@ -98,7 +98,12 @@
4 APU_FIND_EXPAT
5 APU_FIND_ICONV
6
7+save_LIBS="$LIBS"
8+LIBS=
9 AC_SEARCH_LIBS(crypt, crypt ufc)
10+APR_ADDTO(APRUTIL_EXPORT_LIBS, [$LIBS])
11+APR_ADDTO(APRUTIL_LIBS, [$LIBS])
12+LIBS="$save_LIBS $LIBS"
13 AC_MSG_CHECKING(if system crypt() function is threadsafe)
14 if test "x$apu_crypt_threadsafe" = "x1"; then
15 AC_DEFINE(APU_CRYPT_THREADSAFE, 1, [Define if the system crypt() function is threadsafe])
16@@ -134,7 +139,7 @@
17 aprlib=`$apr_config --link-libtool`
18 EXTRA_OS_LINK="$aprlib $top_builddir/xml/expat/lib/libexpat.la"
19 ;;
20-*AIX*|*Darwin*)
21+*AIX*|*Darwin*|*Linux*)
22 dnl need such stuff as -liconv to be specified when building libaprutil.la
23 EXTRA_OS_LINK='$(APRUTIL_LDFLAGS) $(APRUTIL_LIBS)'
24 ;;
This page took 0.031245 seconds and 4 git commands to generate.