]> git.saurik.com Git - wxWidgets.git/blobdiff - configure.in
1. made wxBase compile/link/run again under Unix
[wxWidgets.git] / configure.in
index 4061a4ed881d13ff5578d524d7d093cda9ea5dc5..d71e25eff030e28d63067470e01a0692a0f52626 100644 (file)
@@ -1824,8 +1824,10 @@ if test "$wxUSE_SHARED" = "yes"; then
         AC_MSG_ERROR(unknown system type ${host}.)
     esac
 
-    dnl set target to shared
-    WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_SHARED}"
+    dnl set target to shared if not explicitly chose static before
+    if test "x$WX_TARGET_LIBRARY" = "x"; then
+        WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_SHARED}"
+    fi
 else
     dnl set target to static
     WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_STATIC}"