Ticket #2482: patch-wx-config.in

File patch-wx-config.in, 439 bytes (added by pguyot (Paul Guyot), 20 years ago)

Patch to not strip -framework

Line 
1--- wx-config.in.orig   Mon Dec 13 07:49:55 2004
2+++ wx-config.in        Mon Dec 13 07:50:51 2004
3@@ -161,7 +161,7 @@
4     _remf_value="$1"
5     _remf_list=''
6     shift
7-    if [ -n "$_remf_value" ]; then
8+    if [ -n "$_remf_value" ] && [ "$_remf_value" != "-framework" ]; then
9         for _remf_item; do
10             [ "x$_remf_item" = "x$_remf_value" ] ||                 \
11                 _remf_list="${_remf_list:+$_remf_list }$_remf_item"