don't try to build shared library on platforms not supporting it

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4053 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 1999-10-18 15:12:14 +00:00
parent 26b8332978
commit 72dd34b5dc
2 changed files with 191 additions and 187 deletions

372
configure vendored

File diff suppressed because it is too large Load Diff

View 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}"