Rearrange the magic order we use instead of proper dependencies for
the builtin libs to at least give things a chance of working. Don't include odbc there twice either. Closes 1175402, thanks. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33267 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
19
configure.in
19
configure.in
@@ -6410,32 +6410,29 @@ WXCONFIG_EXTRALIBS="$LIBS"
|
||||
|
||||
dnl wx-config must output builtin 3rd party libs in --libs in static build:
|
||||
if test "$wxUSE_REGEX" = "builtin" ; then
|
||||
wxconfig_3rdparty="$wxconfig_3rdparty regex${lib_unicode_suffix}"
|
||||
wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
|
||||
fi
|
||||
if test "$wxUSE_EXPAT" = "builtin" ; then
|
||||
wxconfig_3rdparty="$wxconfig_3rdparty expat"
|
||||
wxconfig_3rdparty="expat $wxconfig_3rdparty"
|
||||
fi
|
||||
if test "$wxUSE_ODBC" = "builtin" ; then
|
||||
wxconfig_3rdparty="$wxconfig_3rdparty odbc"
|
||||
wxconfig_3rdparty="odbc $wxconfig_3rdparty"
|
||||
fi
|
||||
if test "$wxUSE_LIBTIFF" = "builtin" ; then
|
||||
wxconfig_3rdparty="$wxconfig_3rdparty tiff"
|
||||
wxconfig_3rdparty="tiff $wxconfig_3rdparty"
|
||||
fi
|
||||
if test "$wxUSE_LIBJPEG" = "builtin" ; then
|
||||
wxconfig_3rdparty="$wxconfig_3rdparty jpeg"
|
||||
wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
|
||||
fi
|
||||
if test "$wxUSE_LIBPNG" = "builtin" ; then
|
||||
wxconfig_3rdparty="$wxconfig_3rdparty png"
|
||||
wxconfig_3rdparty="png $wxconfig_3rdparty"
|
||||
fi
|
||||
if test "$wxUSE_ZLIB" = "builtin" ; then
|
||||
wxconfig_3rdparty="$wxconfig_3rdparty zlib"
|
||||
fi
|
||||
if test "$wxUSE_ODBC" = "builtin" ; then
|
||||
wxconfig_3rdparty="$wxconfig_3rdparty odbc"
|
||||
wxconfig_3rdparty="zlib $wxconfig_3rdparty"
|
||||
fi
|
||||
|
||||
for i in $wxconfig_3rdparty ; do
|
||||
WXCONFIG_EXTRALIBS="$WXCONFIG_EXTRALIBS -lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
|
||||
WXCONFIG_EXTRALIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_EXTRALIBS"
|
||||
done
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user