blob: a66f7dc37715c8964def03ca54c3f9c20c60f38a (
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
32
33
34
35
36
37
38
|
From: Marc Kleine-Budde <mkl@pengutronix.de>
Date: Sat, 9 Jan 2010 17:42:58 +0100
Subject: [PATCH] caca-config: add SYSROOT support
The method used here is probably not acceptable upstream.
Forwarded: not-needed
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
---
caca-config.in | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/caca-config.in b/caca-config.in
index c768b99..56274e9 100644
--- a/caca-config.in
+++ b/caca-config.in
@@ -102,18 +102,18 @@ fi
if test "$echo_cflags" = "yes"
then
- cflags="-I$include_dir/"
+ cflags="-I${SYSROOT}$include_dir/"
echo $cflags
fi
if test "$echo_ldflags" = "yes"
then
- ldflags="-L$lib_dir"
+ ldflags="-L${SYSROOT}$lib_dir"
echo $ldflags
fi
if test "$echo_libs" = "yes"
then
- echo -L@libdir@ $libs
+ echo -L${SYSROOT}@libdir@ $libs
fi
|