fix for cygwin/java example

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8505 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Marcelo Matus 2006-01-21 20:47:09 +00:00
commit 492644de04

View file

@ -619,7 +619,7 @@ fi
# Cygwin (Windows) needs the library for dynamic linking
case $host in
*-*-cygwin* | *-*-mingw*) PYTHONDYNAMICLINKING="-L$PYLIB $PYLINK"
PYINCLUDE="-DUSE_DL_IMPORT $PYINCLUDE"
DEFS="-DUSE_DL_IMPORT $DEFS" PYINCLUDE="$PYINCLUDE"
;;
*)PYTHONDYNAMICLINKING="";;
esac