Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 1 | From 9d51027c228dafd7db2d0cffca1f0fc695e950fd Mon Sep 17 00:00:00 2001 |
| 2 | From: Otavio Salvador <otavio@ossystems.com.br> |
| 3 | Date: Mon, 2 Dec 2013 11:33:26 -0200 |
| 4 | Subject: [PATCH] geos-config: Add includedir variable |
| 5 | |
| 6 | This fixes cross-compile as it is easier to mangle the includedir |
| 7 | during sysroot generation. |
| 8 | |
| 9 | Upstream-Status: Pending |
| 10 | |
| 11 | Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> |
| 12 | --- |
| 13 | tools/geos-config.in | 3 ++- |
| 14 | 1 file changed, 2 insertions(+), 1 deletion(-) |
| 15 | |
| 16 | diff --git a/tools/geos-config.in b/tools/geos-config.in |
| 17 | index 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 | -- |
| 38 | 1.7.10.4 |
| 39 | |