blob: 645e6f62a53d6ddb5ec79c930ab5dced566372c1 [file] [log] [blame]
Patrick Williamsb48b7b42016-08-17 15:04:38 -05001From 9d51027c228dafd7db2d0cffca1f0fc695e950fd Mon Sep 17 00:00:00 2001
2From: Otavio Salvador <otavio@ossystems.com.br>
3Date: Mon, 2 Dec 2013 11:33:26 -0200
4Subject: [PATCH] geos-config: Add includedir variable
5
6This fixes cross-compile as it is easier to mangle the includedir
7during sysroot generation.
8
9Upstream-Status: Pending
10
11Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
12---
13 tools/geos-config.in | 3 ++-
14 1 file changed, 2 insertions(+), 1 deletion(-)
15
16diff --git a/tools/geos-config.in b/tools/geos-config.in
17index 9b45b5f..1749892 100644
18--- a/tools/geos-config.in
19+++ b/tools/geos-config.in
20@@ -1,6 +1,7 @@
21 #!/bin/sh
22 prefix=@prefix@
23 exec_prefix=@exec_prefix@
24+includedir=@includedir@
25 libdir=@libdir@
26
27 usage()
28@@ -38,7 +39,7 @@ case $1 in
29 echo @VERSION@
30 ;;
31 --cflags)
32- echo -I${prefix}/include
33+ echo -I${includedir}
34 ;;
35 --libs)
36 # TODO: make an alias for --clibs
37--
381.7.10.4
39