From: Marc Kleine-Budde Date: Tue, 2 Feb 2010 18:57:47 +0100 Subject: [PATCH] xmlrpc-c-config.in: use pkg-config to get curl's libs Signed-off-by: Marc Kleine-Budde --- xmlrpc-c-config.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xmlrpc-c-config.in b/xmlrpc-c-config.in index db6afdb..2baafe9 100644 --- a/xmlrpc-c-config.in +++ b/xmlrpc-c-config.in @@ -116,7 +116,7 @@ while test $# -gt 0; do the_wl_rpath="@WININET_WL_RPATH@ $the_wl_rpath" fi if test "${MUST_BUILD_CURL_CLIENT}" = "yes"; then - the_libs="$the_libs @CURL_LDADD@" + the_libs="$the_libs $(pkg-config --libs libcurl)" the_rpath="@CURL_RPATH@ $the_rpath" the_wl_rpath="@CURL_WL_RPATH@ $the_wl_rpath" fi