diff --git a/Makefile b/Makefile index eeff20d24d..910e6c5084 100644 --- a/Makefile +++ b/Makefile @@ -241,7 +241,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 $@)