More Mingw32 cleanup

This commit is contained in:
Anton Kochkov 2014-08-31 15:02:01 +04:00
parent 0a9163811f
commit 118bb4ea84
2 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@ EXT_SO=dll
CFLAGS+=-D_WIN32=1
SOVER=${EXT_SO}
LDFLAGS+=-shared
LDFLAGS_SHARED?=-fPIC -shared
LDFLAGS_SHARED?=-shared
else
ifeq (${OSTYPE},darwin)
EXT_SO=dylib

View File

@ -17,6 +17,7 @@ LDFLAGS+=-shared
LDFLAGS_SHARED?=-shared
else
CFLAGS+=-fPIC
LDFLAGS_SHARED?=-fPIC -shared
endif
endif
ifeq (${OSTYPE},windows)
@ -38,7 +39,6 @@ else
SOVERSION=0
EXT_SO=so
SOVER=${EXT_SO}
LDFLAGS_SHARED?=-fPIC -shared
LDFLAGS_SHARED+=-Wl,-soname,libr_z.${EXT_SO}
endif
endif