From 36a0bb39d832bef433ee81c4f156411df521b358 Mon Sep 17 00:00:00 2001 From: Dieter Hametner Date: Sat, 5 May 2007 21:59:58 +0000 Subject: - Fix for the linking problem. For details see: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=422372 --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 363ce49..7a4bd38 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # # Makefile for a Video Disk Recorder plugin # -# $Id: Makefile,v 1.33 2007/05/04 18:53:31 lordjaxom Exp $ +# $Id: Makefile,v 1.34 2007/05/05 21:59:58 tadi Exp $ # The official name of this plugin. # This name will be used in the '-P...' option of VDR to load the plugin. @@ -52,7 +52,7 @@ INCLUDES += -I$(VDRDIR)/include -Ihttpd DEFINES += -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"$(PLUGIN)"' export DEFINES -LIBS += -lssl httpd/libhttpd.a +LIBS += httpd/libhttpd.a -lssl SUBDIRS = httpd pages css images javascript @@ -93,7 +93,7 @@ SUBDIRS: done libvdr-$(PLUGIN).so: $(PLUGINOBJS) $(LIBS) $(WEBLIBS) - $(CXX) $(LDFLAGS) -Wl,--whole-archive -shared -o $@ $^ + $(CXX) $(LDFLAGS) -shared -o $@ $(PLUGINOBJS) -Wl,--whole-archive $(WEBLIBS) -Wl,--no-whole-archive $(LIBS) @cp --remove-destination $@ $(LIBDIR)/$@.$(APIVERSION) dist: clean -- cgit v1.2.3