summaryrefslogtreecommitdiff
path: root/media-plugins/vdr-wapd/files/vdr-wapd-0.9-as-needed.patch
blob: f37032064ab689c8b17fb1e8774049a0e3b95177 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- wapd-0.9.orig/Makefile	2008-01-16 16:29:10.000000000 +0100
+++ wapd-0.9/Makefile	2009-10-20 11:32:24.494591965 +0200
@@ -76,11 +76,11 @@
 all: libvdr-$(PLUGIN).so wappasswd
 
 libvdr-$(PLUGIN).so: $(OBJS)
-	$(CXX) $(CXXFLAGS) -shared $(OBJS) $(LIBS) -o $@
+	$(CXX) $(CXXFLAGS) -shared $(OBJS) -o $@ $(LIBS)
 	@cp $@ $(LIBDIR)/$@.$(APIVERSION)
 
 wappasswd: wappasswd.c
-	$(CXX) $(CXXFLAGS) $(LIBS) -o wappasswd wappasswd.c
+	$(CXX) $(CXXFLAGS) $(LDFLAGS) -o wappasswd wappasswd.c $(LIBS)
 
 dist: clean
 	@-rm -rf $(TMPDIR)/$(ARCHIVE)