diff --git a/configure b/configure index 53923bd170..4e9953ba74 100755 --- a/configure +++ b/configure @@ -11905,7 +11905,7 @@ echo "$ac_t""$wx_cv_prog_icc" 1>&6 WX_LIBRARY_IMPORTLIB="${WX_LIBRARY_NAME_SHARED}.a" - WXCONFIG_LIBS="-l${WX_LIBRARY_NAME_SHARED}" + WXCONFIG_LIBS="${WXCONFIG_LIBS}.${SO_SUFFIX}" SHARED_LD="${CXX} -shared -Wl,--out-implib,lib/${WX_LIBRARY_IMPORTLIB} -o" TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -DWXUSINGDLL=1" diff --git a/configure.in b/configure.in index 119bea7f48..3610af5202 100644 --- a/configure.in +++ b/configure.in @@ -2515,7 +2515,7 @@ if test "$wxUSE_SHARED" = "yes"; then 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="-l${WX_LIBRARY_NAME_SHARED}" + WXCONFIG_LIBS="${WXCONFIG_LIBS}.${SO_SUFFIX}" SHARED_LD="${CXX} -shared -Wl,--out-implib,lib/${WX_LIBRARY_IMPORTLIB} -o" TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -DWXUSINGDLL=1"