]> git.saurik.com Git - wxWidgets.git/blobdiff - wx-config.in
bug fix for using multiline string (i.e. with embedded '\n's) in wxTextCtrl ctor
[wxWidgets.git] / wx-config.in
index da8ffd42adb93378efc679dc910af95020f4f3b9..3e05f12784e39a947ae3e1bd4292a0279400465f 100755 (executable)
@@ -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