From 73213bc32d9a3764879402f109501fbdce3f2519 Mon Sep 17 00:00:00 2001 From: Stefan Neis Date: Sun, 19 Dec 2004 17:22:34 +0000 Subject: [PATCH] Fixes for OS/2. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31066 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- configure.in | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/configure.in b/configure.in index 0cc0f86057..d3a3fd1616 100644 --- a/configure.in +++ b/configure.in @@ -6151,6 +6151,17 @@ if test "$wxUSE_SHARED" = "yes"; then sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'` EXE_LINKER=`eval echo "$sanitised_bakefile_mess"` + dnl Need addtional flag on OS/2, so override bakefiles value + dnl (there currently is no suitable variable to which the + dnl missing flags could be added, AFAICS. SN, 18.12.2004. ) + case "${host}" in + *-pc-os2_emx | *-pc-os2-emx ) + SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o" + SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o" + cp -p ${srcdir}/src/os2/dllnames.sh . + cp -p ${srcdir}/src/os2/dllar.sh . + ;; + esac else dnl No bakefile support for static builds, but this should be ok for most. -- 2.45.2