X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3d63bc3a031da090fd5ebb4fbc4951da0e92e81e..51072df23ffcf5bdd4651dbe0ad5143b1e360119:/wx-config.in diff --git a/wx-config.in b/wx-config.in index da8ffd42ad..d046f70d48 100755 --- a/wx-config.in +++ b/wx-config.in @@ -36,8 +36,14 @@ cppflags() then includes=-I@includedir@ fi + includes="-I@libdir@/wx/include/@TOOLCHAIN_NAME@ $includes" - echo $includes @WXDEBUG_DEFINE@ @TOOLCHAIN_DEFS@ @WXCONFIG_INCLUDE@ + + if test $static_flag = yes ; then + echo $includes @WXDEBUG_DEFINE@ @TOOLCHAIN_DEFS@ @WXCONFIG_INCLUDE@ + else + echo $includes @WXDEBUG_DEFINE@ @TOOLCHAIN_DEFS@ @TOOLCHAIN_DLL_DEFS@ @WXCONFIG_INCLUDE@ + fi } if test $# -eq 0; then @@ -94,7 +100,7 @@ while test $# -gt 0; do fi if test $static_flag = yes ; then - echo "-static $libs @LDFLAGS@ @WXCONFIG_LIBS@ @LIBS@ @DMALLOC_LIBS@" + echo "$libs @LDFLAGS@ @WXCONFIG_LIBS@ @LIBS@ @DMALLOC_LIBS@" else echo $libs @LDFLAGS@ @WXCONFIG_LIBS@ @DMALLOC_LIBS@ fi