summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDieter Hametner <dh (plus) vdr (at) gekrumbel (dot) de>2007-01-03 22:08:10 +0000
committerDieter Hametner <dh (plus) vdr (at) gekrumbel (dot) de>2007-01-03 22:08:10 +0000
commit7b1557f421b955968e1dc90ffa11e7a836b47af6 (patch)
tree0d4961da560c6762e641f01d84be200b4326d656 /Makefile
parent1682dbf6066acd98c557bdf73d9b4c484de46943 (diff)
downloadvdr-plugin-live-7b1557f421b955968e1dc90ffa11e7a836b47af6.tar.gz
vdr-plugin-live-7b1557f421b955968e1dc90ffa11e7a836b47af6.tar.bz2
using -Wl,--whole-archive to link sublibraries
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 6 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 5615c59..24c7c82 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
#
# Makefile for a Video Disk Recorder plugin
#
-# $Id: Makefile,v 1.18 2007/01/03 21:43:21 lordjaxom Exp $
+# $Id: Makefile,v 1.19 2007/01/03 22:08:10 tadi Exp $
# The official name of this plugin.
# This name will be used in the '-P...' option of VDR to load the plugin.
@@ -54,15 +54,16 @@ export DEFINES
LIBS += httpd/libhttpd.a
-SUBDIRS = httpd pages css
+SUBDIRS = httpd pages css images
### The object files (add further files here):
PLUGINOBJS = $(PLUGIN).o thread.o tntconfig.o setup.o i18n.o
WEBOBJS = tools.o
-WEBLIBS = pages/libpages.o \
- css/libcss.o
+WEBLIBS = pages/libpages.a \
+ css/libcss.a \
+ images/libimages.a
### Default rules:
@@ -96,7 +97,7 @@ libvdr-$(PLUGIN).so: $(PLUGINOBJS) $(LIBS)
@cp --remove-destination $@ $(LIBDIR)/$@.$(APIVERSION)
libtnt-$(PLUGIN).so: $(WEBOBJS) $(WEBLIBS)
- $(CXX) $(LDFLAGS) -shared -o $@ $^
+ $(CXX) $(LDFLAGS) -Wl,--whole-archive -shared -o $@ $^
@cp --remove-destination $@ $(LIBDIR)/$@
dist: clean