]> git.saurik.com Git - wxWidgets.git/blobdiff - wx-config.in
more wxArtProvider fixes
[wxWidgets.git] / wx-config.in
index 3fff29f90ec92b58b5c4084f5a8322cdcc9b7fcb..65b263f8422f094a23ecc804ce5f699401500bee 100755 (executable)
@@ -215,7 +215,7 @@ cppflags()
         flags="$flags -DwxUSE_GUI=0"
     fi
 
-    echo "$flags${WXCONFIG_INCLUDE} ${WX_LARGEFILE_FLAGS} ${GCC_PRAGMA_FLAGS}"
+    echo "$flags ${WXCONFIG_INCLUDE} ${WX_LARGEFILE_FLAGS} ${GCC_PRAGMA_FLAGS}"
 }
 
 if test $# -eq 0; then
@@ -248,16 +248,20 @@ else
 fi
 
 # determine if at least one gui lib was used:
-nogui_flag="yes"
-for i in $libs_list; do
-  case $i in
-      base|net)
-        ;;
-      *)
-        nogui_flag="no"
-        ;;
-  esac
-done
+if test "$is_monolithic" = "0" ; then
+  nogui_flag="yes"
+  for i in $libs_list; do
+    case $i in
+        base|net)
+          ;;
+        *)
+          nogui_flag="no"
+          ;;
+    esac
+  done
+else
+  nogui_flag="no"
+fi
 
 
 # handle options: