summaryrefslogtreecommitdiffstats
path: root/patches/xmlrpc-c-1.06.42/0004-xmlrpc-c-config.in-add-SYSROOT-support.patch
blob: 1b80a0291d5944a464f2901221bc45b77b770931 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
From: Marc Kleine-Budde <mkl@pengutronix.de>
Date: Tue, 2 Feb 2010 18:59:27 +0100
Subject: [PATCH] xmlrpc-c-config.in: add SYSROOT support

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
---
 xmlrpc-c-config.in |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/xmlrpc-c-config.in b/xmlrpc-c-config.in
index 2baafe9..699f697 100644
--- a/xmlrpc-c-config.in
+++ b/xmlrpc-c-config.in
@@ -56,7 +56,7 @@ the_libdirs=
 
 # If Xmlrpc-c libraries are installed in the standard linker search
 # path on this system, you should remove the following line:
-the_libdirs="-L$libdir $the_libdirs"
+the_libdirs="-L${SYSROOT}$libdir $the_libdirs"
 
 the_libs="-lxmlrpc -lxmlrpc_util ${LIBXML}"
 the_rpath=
@@ -66,7 +66,7 @@ cpp_libs=
 cflags=
 # If Xmlrpc-c library interface header files are installed in the standard
 # compiler search path on this system, you should remove the following line:
-cflags="-I$includedir $cflags"
+cflags="-I${SYSROOT}$includedir $cflags"
 
 while test $# -gt 0; do
   case $1 in