wxbase: invert is_installed
this_prefix has been given in wx-config,
so the result of is_installed isn't proper
```
if is_installed; then
_include_cppflags="-I${includedir}/wx-2.8"
else
_include_cppflags="-I${includedir} -I${prefix}/contrib/include"
fi
```
This commit is contained in:
parent
6f0cc1cdf1
commit
ae656bb0d8
13
package/lean/wxbase/patches/fix-install-pointer.patch
Normal file
13
package/lean/wxbase/patches/fix-install-pointer.patch
Normal file
@ -0,0 +1,13 @@
|
||||
diff --git a/wx-config.in b/wx-config.in
|
||||
index b185bbb..0a9a341 100755
|
||||
--- a/wx-config.in
|
||||
+++ b/wx-config.in
|
||||
@@ -937,7 +937,7 @@ fi
|
||||
|
||||
is_monolithic() { [ "x@MONOLITHIC@" = "x1" ]; }
|
||||
is_static() { [ -n "$this_linkage" ]; }
|
||||
-is_installed() { [ -z "$this_prefix" ]; }
|
||||
+is_installed() { [ "$this_prefix" ]; }
|
||||
|
||||
|
||||
# Is the user after a support utility?
|
||||
Loading…
Reference in New Issue
Block a user