Add LIBFLAGS when linking a static library.

Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
This commit is contained in:
FrancisANDRE
2015-11-17 21:10:02 +01:00
parent 30bec39a50
commit 383f2bbf06

View File

@@ -49,13 +49,13 @@ shared_release: libdirs $(LIB_RELEASE_SHARED)
$(LIB_DEBUG_STATIC): $(foreach o,$(objects),$(OBJPATH_DEBUG_STATIC)/$(o).o)
@echo "** Building library (debug)" $@
$(LIB) $@ $^
$(LIB) $(LIBFLAGS) $@ $^
$(RANLIB) $@
$(postbuild)
$(LIB_RELEASE_STATIC): $(foreach o,$(objects),$(OBJPATH_RELEASE_STATIC)/$(o).o)
@echo "** Building library (release)" $@
$(LIB) $@ $^
$(LIB) $(LIBFLAGS) $@ $^
$(RANLIB) $@
$(postbuild)