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

@@ -12,7 +12,7 @@
# See the main source file 'vdr.c' for copyright information and
# how to reach the author.
#
# $Id: newplugin 2.4 2010/10/24 13:42:38 kls Exp $
# $Id: newplugin 2.5 2010/12/26 12:04:17 kls Exp $
$PLUGIN_NAME = $ARGV[0] || die "Usage: newplugin <name>\n";
@@ -158,7 +158,7 @@ i18n: \$(I18Nmsgs) \$(I18Npot)
### Targets:
libvdr-\$(PLUGIN).so: \$(OBJS)
\$(CXX) \$(CXXFLAGS) -shared \$(OBJS) -o \$\@
\$(CXX) \$(CXXFLAGS) \$(LDFLAGS) -shared \$(OBJS) -o \$\@
\@cp --remove-destination \$\@ \$(LIBDIR)/\$\@.\$(APIVERSION)
dist: \$(I18Npo) clean