Added LDFLAGS to the linker calls in the Makefiles

This commit is contained in:
Klaus Schmidinger
2010-12-26 12:11:58 +01:00
parent c60c8b9e4f
commit 6c0612546e
12 changed files with 28 additions and 22 deletions

View File

@@ -1,7 +1,7 @@
#
# Makefile for a Video Disk Recorder plugin
#
# $Id: Makefile 2.4 2010/10/24 13:44:11 kls Exp $
# $Id: Makefile 2.5 2010/12/26 12:04:17 kls Exp $
# The official name of this plugin.
# This name will be used in the '-P...' option of VDR to load the plugin.
@@ -99,7 +99,7 @@ i18n: $(I18Nmsgs)
### Targets:
libvdr-$(PLUGIN).so: $(OBJS)
$(CXX) $(CXXFLAGS) -shared $(OBJS) -o $@
$(CXX) $(CXXFLAGS) $(LDFLAGS) -shared $(OBJS) -o $@
@cp --remove-destination $@ $(LIBDIR)/$@.$(APIVERSION)
dist: $(I18Npo) clean