blob: f1f1457ba360e5c5d234f0f423ce1e235f482041 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
From: Marc Kleine-Budde <mkl@pengutronix.de>
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 <mkl@pengutronix.de>
---
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
|