diff --git a/Makefile b/Makefile index 50cff2d170..4ff51c7ebb 100644 --- a/Makefile +++ b/Makefile @@ -231,7 +231,7 @@ lib$(PROG).a: $(LIBOBJ) lib$(PROG).so: $(LIBOBJ) @echo "$(MSG_PREFIX)\`\` Linking:" $(notdir $@) - $(VERBOSE)$(CXX) -shared -o $@ $^ $(LIBS) + $(VERBOSE)$(CXX) -shared -o $@ $^ $(LDFLAGS) $(LIBS) docs: @echo "$(MSG_PREFIX)\`\` Building documentation." $(notdir $@)