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.1 2010/02/06 14:50:03 kls Exp $
# $Id: Makefile 2.2 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.
@@ -72,7 +72,7 @@ $(DEPFILE): Makefile
### Targets:
libvdr-$(PLUGIN).so: $(OBJS)
$(CXX) $(CXXFLAGS) -shared $(OBJS) -o $@
$(CXX) $(CXXFLAGS) $(LDFLAGS) -shared $(OBJS) -o $@
@cp --remove-destination $@ $(LIBDIR)/$@.$(APIVERSION)
dist: clean