diff options
Diffstat (limited to 'support/shobj-conf')
-rw-r--r-- | support/shobj-conf | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/support/shobj-conf b/support/shobj-conf index cd7634d..c3df351 100644 --- a/support/shobj-conf +++ b/support/shobj-conf @@ -114,7 +114,7 @@ sunos5*-*gcc*|solaris2*-*gcc*) ;; sunos5*|solaris2*) - SHOBJ_CFLAGS='-K pic' + SHOBJ_CFLAGS='-fPIC' # was -K pic SHOBJ_LD=/usr/ccs/bin/ld SHOBJ_LDFLAGS='-G -dy -z text -i -h $@' @@ -494,6 +494,24 @@ cygwin*) fi ;; +msys*) + SHOBJ_LD='$(CC)' + SHOBJ_LDFLAGS='-shared -Wl,--enable-auto-import -Wl,--enable-auto-image-base -Wl,--export-all -Wl,--out-implib=$(@).a' + SHLIB_LIBPREF='msys-' + SHLIB_LIBSUFF='dll' + SHLIB_LIBVERSION='$(SHLIB_DLLVERSION).$(SHLIB_LIBSUFF)' + SHLIB_LIBS='$(TERMCAP_LIB)' + + SHLIB_DOT= + # For official cygwin releases, DLLVERSION will be defined in the + # environment of configure, and will be incremented any time the API + # changes in a non-backwards compatible manner. Otherwise, it is just + # SHLIB_MAJOR. + if [ -n "$DLLVERSION" ] ; then + SHLIB_DLLVERSION="$DLLVERSION" + fi + ;; + mingw*) SHOBJ_LD='$(CC)' SHOBJ_LDFLAGS='-shared -Wl,--enable-auto-import -Wl,--enable-auto-image-base -Wl,--export-all -Wl,--out-implib=$(@).a' |