You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apr.apache.org by steven mestdagh <st...@esat.kuleuven.be> on 2007/09/18 15:09:27 UTC

apr-util ldflags

hi,

we have the expat library installed under a separate path, and during `make
check' it cannot find -lexpat. the following patch lets this just work.

--- build/apu-conf.m4.orig	Tue Sep 18 14:47:31 2007
+++ build/apu-conf.m4	Tue Sep 18 14:47:57 2007
@@ -144,6 +144,7 @@ AC_ARG_WITH([expat],
       APR_ADDTO(LDFLAGS, [-L$withval/lib])
       APR_ADDTO(CPPFLAGS, [-I$withval/include])
       APR_ADDTO(APRUTIL_INCLUDES, [-I$withval/include])
+      APR_ADDTO(APRUTIL_LDFLAGS, [-L$withval/lib])
     fi
     # ...and refuse to fall back on the builtin expat.
     apu_try_builtin_expat=0