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:
@@ -1824,8 +1824,10 @@ if test "$wxUSE_SHARED" = "yes"; then
|
|||||||
AC_MSG_ERROR(unknown system type ${host}.)
|
AC_MSG_ERROR(unknown system type ${host}.)
|
||||||
esac
|
esac
|
||||||
|
|
||||||
dnl set target to 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}"
|
WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_SHARED}"
|
||||||
|
fi
|
||||||
else
|
else
|
||||||
dnl set target to static
|
dnl set target to static
|
||||||
WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_STATIC}"
|
WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_STATIC}"
|
||||||
|
Reference in New Issue
Block a user