Reworking of DLL build rules.
Allows static libraries and DLLs to be built without having to do a 'make clean' in between on Cygwin and MinGW targets. The Cygwin build still crashes when SHARED_LIBRARIES = YES though, loading Com.dll seems to cause the problem.
This commit is contained in:
@ -50,10 +50,12 @@ STATIC_LDFLAGS_YES = -static
|
||||
STATIC_LDFLAGS_NO =
|
||||
|
||||
SHRLIB_CFLAGS = -fPIC
|
||||
SHRLIB_LDFLAGS = -shared -fPIC
|
||||
SHRLIB_LDFLAGS = -shared -fPIC
|
||||
LOADABLE_SHRLIB_LDFLAGS = -shared -fPIC
|
||||
|
||||
GNU_LDLIBS_YES = -lgcc
|
||||
|
||||
# Use GNU compiler flags to generate header dependancies files
|
||||
HDEPENDS_METHOD = CFLAGS
|
||||
# Use compiler flags to generate header dependancies files
|
||||
HDEPENDS_METHOD = COMP
|
||||
HDEPENDS_COMPFLAGS = -MM -MF $@
|
||||
|
||||
|
Reference in New Issue
Block a user