diff options
author | Ville Skyttä <ville.skytta@iki.fi> | 2012-12-17 12:20:34 +0100 |
---|---|---|
committer | Andreas Mair <amair.sob@googlemail.com> | 2012-12-17 12:20:34 +0100 |
commit | b9e9288aa0732003d0778e4b8e7677e53c5ffe15 (patch) | |
tree | 2532ebde90f52cf6be7c0e59f223b0542d8953a1 | |
parent | 44e1d4ad341963d099ccc9bc4017ae4b563892d4 (diff) | |
download | vdr-plugin-skinenigmang-b9e9288aa0732003d0778e4b8e7677e53c5ffe15.tar.gz vdr-plugin-skinenigmang-b9e9288aa0732003d0778e4b8e7677e53c5ffe15.tar.bz2 |
Pass --package-name and --package-version to xgettext, use $LDFLAGS when linking.
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -176,7 +176,7 @@ I18Npot = $(PODIR)/$(PLUGIN).pot msgfmt -c -o $@ $< $(I18Npot): $(wildcard *.c) - xgettext -C -cTRANSLATORS --no-wrap --no-location -k -ktr -ktrNOOP --msgid-bugs-address='<andreas@vdr-developer.org>' -o $@ $^ + xgettext -C -cTRANSLATORS --no-wrap --no-location -k -ktr -ktrNOOP --package-name=vdr-$(PLUGIN) --package-version=$(VERSION) --msgid-bugs-address='<andreas@vdr-developer.org>' -o $@ $^ %.po: $(I18Npot) msgmerge -U --no-wrap --no-location --backup=none --no-fuzzy-matching -q $@ $< @@ -192,7 +192,7 @@ i18n: $(I18Nmsgs) $(I18Npot) ### Targets: libvdr-$(PLUGIN).so: $(OBJS) - $(CXX) $(CXXFLAGS) -shared $(OBJS) $(LIBS) -o $@ + $(CXX) $(CXXFLAGS) $(LDFLAGS) -shared $(OBJS) $(LIBS) -o $@ ifndef SKINENIGMA_DEBUG @$(STRIP) $@ endif |