X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/25d0687a6e22eccd26caae51a1a02155db5fa940..83dbe2eabbce1d664a2152100f008ddb4100d753:/configure.in diff --git a/configure.in b/configure.in index be2d7171b5..5bf3e59d42 100644 --- a/configure.in +++ b/configure.in @@ -2027,12 +2027,14 @@ equivalent variable and GTK+ is version 1.2.3 or above. mgl_lib_type="" if test "$wxUSE_DEBUG_FLAG" = yes ; then - if test -f $MGL_ROOT/lib/debug/$mgl_os/libmgl.a ; then + if test -f $MGL_ROOT/lib/debug/$mgl_os/libmgl.a -o \ + -f $MGL_ROOT/lib/debug/$mgl_os/libmgl.so; then mgl_lib_type=debug fi fi if test "x$mgl_lib_type" = x ; then - if test -f $MGL_ROOT/lib/release/$mgl_os/libmgl.a ; then + if test -f $MGL_ROOT/lib/release/$mgl_os/libmgl.a -o \ + -f $MGL_ROOT/lib/release/$mgl_os/libmgl.so; then mgl_lib_type=release else AC_MSG_ERROR([Cannot find MGL libraries, make sure they are compiled.]) @@ -2232,7 +2234,7 @@ equivalent variable and GTK+ is version 1.2.3 or above. ALL_OBJECTS="\$(GUIOBJS)" fi - ALL_OBJECTS="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)" + ALL_OBJECTS="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJECTS)" if test "$TOOLKIT" != "MSW"; then ALL_OBJECTS="${ALL_OBJECTS} \$(UNIXOBJS)" @@ -2512,11 +2514,6 @@ if test "$wxUSE_SHARED" = "yes"; then WX_LIBRARY_IMPORTLIB="${WX_LIBRARY_NAME_SHARED}.a" - dnl FIXME: this is a hack.. do we need a --static flag to wx-config? - dnl or is this just plain wrong? - dnl This is NOT compatible with both static and dynamic linking - WXCONFIG_LIBS="${WXCONFIG_LIBS}.${SO_SUFFIX}" - SHARED_LD="${CXX} -shared -Wl,--out-implib,lib/${WX_LIBRARY_IMPORTLIB} -o" TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -DWXUSINGDLL=1"