X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/40f7145ca55ccf1b197e70acf79bbd4aa5d85145..7475e8a313860781303b11e3a13e25e1a0914861:/wx-config.in diff --git a/wx-config.in b/wx-config.in index f0380ce431..2a1a40ef68 100755 --- a/wx-config.in +++ b/wx-config.in @@ -32,6 +32,7 @@ cppflags() { if test "@includedir@" != "/usr/include" \ -a "@includedir@" != "/usr/include/c++" \ + -a "@includedir@" != "/usr/local/include" \ -a \( "${cross_compiling}" != "yes" \ -o "@includedir@" != "/usr/${target}/include" \) ; then @@ -104,9 +105,9 @@ while test $# -gt 0; do fi if test $static_flag = yes ; then - echo "$libs @LDFLAGS@ @libdir@/@WXCONFIG_LIBS_STATIC@ @LIBS@ @DMALLOC_LIBS@" + echo "$libs @LDFLAGS@ @WXCONFIG_RPATH@ @libdir@/@WXCONFIG_LIBS_STATIC@ @LIBS@ @DMALLOC_LIBS@" else - echo $libs @LDFLAGS@ @WXCONFIG_LIBS@ @DMALLOC_LIBS@ + echo $libs @LDFLAGS@ @WXCONFIG_RPATH@ @WXCONFIG_LIBS@ @DMALLOC_LIBS@ fi ;;