]> git.saurik.com Git - wxWidgets.git/commitdiff
Fixes for OS/2.
authorStefan Neis <Stefan.Neis@t-online.de>
Sun, 19 Dec 2004 17:22:34 +0000 (17:22 +0000)
committerStefan Neis <Stefan.Neis@t-online.de>
Sun, 19 Dec 2004 17:22:34 +0000 (17:22 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31066 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

configure.in

index 0cc0f860572be7be1eacad31fcf43d2d4cbaa191..d3a3fd161663c991d6d936076c50f5bbafbfc7d5 100644 (file)
@@ -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"`
 
     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.
 else
 
     dnl No bakefile support for static builds, but this should be ok for most.