Support for building DLLs on OS/2 (using dllar.sh).

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26136 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Neis 2004-03-08 10:17:55 +00:00
parent 2d35020a8d
commit 11a20c3a78
2 changed files with 8 additions and 2 deletions

9
aclocal.m4 vendored
View File

@ -1402,6 +1402,8 @@ AC_DEFUN(AC_BAKEFILE_SUFFIXES,
DLLPREFIX=""
;;
*-pc-os2_emx | *-pc-os2-emx )
SO_SUFFIX="dll"
SO_SUFFIX_MODULE="dll"
EXEEXT=".exe"
DLLPREFIX=""
LIBPREFIX=""
@ -1653,11 +1655,16 @@ EOF
PIC_FLAG=""
;;
*-pc-os2_emx | *-pc-os2-emx )
SHARED_LD_CC="dllar.sh -o"
SHARED_LD_CXX="dllar.sh -o"
PIC_FLAG=""
;;
*-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
*-*-sunos4* | \
*-*-osf* | \
*-*-dgux5* | \
*-pc-os2_emx | *-pc-os2-emx | \
*-*-sysv5* )
dnl defaults are ok
;;

View File

@ -3303,7 +3303,6 @@ dnl --- the marker for quick search, leave it here: SHARED_LIB_SETUP ---
if test "$wxUSE_SHARED" = "yes"; then
case "${host}" in
*-pc-os2_emx | *-pc-os2-emx | \
*-pc-msdosdjgpp )
dnl only static for now
wxUSE_SHARED=no