solaris support.

This commit is contained in:
Costa Vitor 2009-06-16 23:31:45 -05:00
parent c846fc50c8
commit d0baedbf84
2 changed files with 20 additions and 0 deletions

10
configure vendored
View File

@ -6749,6 +6749,16 @@ fi
INSTALL_DLLS=""
fi
;;
*solaris*)
#an elf system
LDFLAGS="-dynamic $LDFLAGS"
SHLIB_CFLAGS="-fPIC"
SHLIB_LD="gcc -shared"
SHLIB_SWI_LD="gcc -shared"
DO_SECOND_LD=""
SHLIB_SUFFIX=".so"
INSTALL_DLLS=""
;;
*cyg*|*mingw*)
# gcc on cygwin seems to have trouble with longjmp
# and -fomit-frame-point -DBP_FREE

View File

@ -920,6 +920,16 @@ dnl Linux has both elf and a.out, in this case we found elf
INSTALL_DLLS=""
fi
;;
*solaris*)
#an elf system
LDFLAGS="-dynamic $LDFLAGS"
SHLIB_CFLAGS="-fPIC"
SHLIB_LD="gcc -shared"
SHLIB_SWI_LD="gcc -shared"
DO_SECOND_LD=""
SHLIB_SUFFIX=".so"
INSTALL_DLLS=""
;;
*cyg*|*mingw*)
# gcc on cygwin seems to have trouble with longjmp
# and -fomit-frame-point -DBP_FREE