Restore the passing of LDFLAGS when building libraries
This commit is contained in:
parent
cb72543408
commit
99de9424db
|
@ -74,9 +74,9 @@ MAKE_CC= $(CC) $(CFLAGS) $(CPPFLAGS_$*) $(CFLAGS_$*) -c $< -o $@ $(
|
|||
MAKE_CXX= $(CXX) $(CXXFLAGS) $(CPPFLAGS_$*) $(CXXFLAGS_$*) -c $< -o $@ $(DEPFLAGS)
|
||||
MAKE_AS= $(CC) $(CFLAGS) $(CPPFLAGS_$*) $(CFLAGS_$*) -c $< -o $@ $(DEPFLAGS)
|
||||
MAKE_OBJDIR= mkdir -p $* && touch $@
|
||||
MAKE_LIB= $(AR) $@ $(LDFLAGS_$*) $(LINK_INPUTS)&& $(RANLIB) $@
|
||||
MAKE_DLL= $(LD) -shared $(LDFLAGS_$*) $(LINK_CMDLINE) -o $@
|
||||
MAKE_EXE= $(LD) $(LDFLAGS_$*) $(LINK_CMDLINE) -o $@
|
||||
MAKE_LIB= $(AR) $@ $(LDFLAGS) $(LDFLAGS_$*) $(LINK_INPUTS)&& $(RANLIB) $@
|
||||
MAKE_DLL= $(LD) -shared $(LDFLAGS) $(LDFLAGS_$*) $(LINK_CMDLINE) -o $@
|
||||
MAKE_EXE= $(LD) $(LDFLAGS) $(LDFLAGS_$*) $(LINK_CMDLINE) -o $@
|
||||
|
||||
LINK_DIR_OPT= -L
|
||||
LINK_LIB_OPT= -l
|
||||
|
|
|
@ -28,8 +28,8 @@ include $(BUILD)config.gnu.mk
|
|||
|
||||
CFLAGS_ssev4= -msse4
|
||||
DLL_EXT= .dylib
|
||||
MAKE_LIB= $(LIBTOOL) -static $(LINK_INPUTS) -o $@
|
||||
MAKE_DLL= $(LD) -shared $(LINK_INPUTS) -o $@
|
||||
MAKE_LIB= $(LIBTOOL) -static $(LDFLAGS) $(LDFLAGS_$*) $(LINK_INPUTS) -o $@
|
||||
MAKE_DLL= $(LD) -shared $(LDFLAGS) $(LDFLAGS_$*) $(LINK_INPUTS) -o $@
|
||||
|
||||
|
||||
# On MacOSX, we will use basic frameworks e.g. for string and filesystem functions
|
||||
|
|
Loading…
Reference in New Issue