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:
parent
26b8332978
commit
72dd34b5dc
@ -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}"
|
||||
|
Loading…
Reference in New Issue
Block a user