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:
ElonH 2020-04-04 16:11:46 +08:00
parent 6f0cc1cdf1
commit ae656bb0d8
No known key found for this signature in database
GPG Key ID: 5BCDD7F78A258D4C

View 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?