diff options
author | methodus <methodus@web.de> | 2012-10-22 11:27:52 +0200 |
---|---|---|
committer | methodus <methodus@web.de> | 2012-10-22 11:27:52 +0200 |
commit | 31b816ffd4669193162e127bc5a28be9fed0a7bd (patch) | |
tree | c7085504b001af1fd692af494994ccd7c6dd25e4 /plugins | |
parent | 6cd4cc8d4acb60c4acc29df2af98044b1cff0326 (diff) | |
download | vdr-plugin-upnp-31b816ffd4669193162e127bc5a28be9fed0a7bd.tar.gz vdr-plugin-upnp-31b816ffd4669193162e127bc5a28be9fed0a7bd.tar.bz2 |
Fixed issue, that symbolic link is required to link the plugins agains the upnp-plugin
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/profiler/vdrDVBProfiler/Makefile | 5 | ||||
-rw-r--r-- | plugins/provider/recProvider/Makefile | 5 | ||||
-rw-r--r-- | plugins/provider/vdrProvider/Makefile | 5 |
3 files changed, 12 insertions, 3 deletions
diff --git a/plugins/profiler/vdrDVBProfiler/Makefile b/plugins/profiler/vdrDVBProfiler/Makefile index 7ff813f..28c8748 100644 --- a/plugins/profiler/vdrDVBProfiler/Makefile +++ b/plugins/profiler/vdrDVBProfiler/Makefile @@ -24,13 +24,16 @@ VDRLIBDIR ?= $(UPNPDIR)/../../lib APIVERSION = $(shell sed -ne '/define UPNPPLUGIN_VERSION/s/^.*"\(.*\)".*$$/\1/p' $(UPNPDIR)/include/plugin.h) +VDRDIR ?= $(UPNPDIR)/../../.. +VDRAPIVERSION = $(shell sed -ne '/define APIVERSION/s/^.*"\(.*\)".*$$/\1/p' $(VDRDIR)/config.h) + INCLUDES += -I$(UPNPDIR)/include DEFINES += -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE OBJS = $(PROFILE)Profiler.o -LIBS = -L$(VDRLIBDIR) -Wl,-R$(VDRLIBDIR) -lvdr-upnp +LIBS = -L$(VDRLIBDIR) -Wl,-R$(VDRLIBDIR) $(VDRLIBDIR)/libvdr-upnp.so.$(VDRAPIVERSION) all: libupnp-$(PROFILE)-profiler.so diff --git a/plugins/provider/recProvider/Makefile b/plugins/provider/recProvider/Makefile index 85adf12..d23a6e7 100644 --- a/plugins/provider/recProvider/Makefile +++ b/plugins/provider/recProvider/Makefile @@ -24,13 +24,16 @@ VDRLIBDIR ?= $(UPNPDIR)/../../lib APIVERSION = $(shell sed -ne '/define UPNPPLUGIN_VERSION/s/^.*"\(.*\)".*$$/\1/p' $(UPNPDIR)/include/plugin.h) +VDRDIR ?= $(UPNPDIR)/../../.. +VDRAPIVERSION = $(shell sed -ne '/define APIVERSION/s/^.*"\(.*\)".*$$/\1/p' $(VDRDIR)/config.h) + INCLUDES += -I$(UPNPDIR)/include DEFINES += -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE OBJS = $(SCHEMA)Provider.o -LIBS = -L$(VDRLIBDIR) -Wl,-R$(VDRLIBDIR) -lvdr-upnp +LIBS = -L$(VDRLIBDIR) -Wl,-R$(VDRLIBDIR) $(VDRLIBDIR)/libvdr-upnp.so.$(VDRAPIVERSION) all: libupnp-$(SCHEMA)-provider.so diff --git a/plugins/provider/vdrProvider/Makefile b/plugins/provider/vdrProvider/Makefile index ce4dedd..9f8361e 100644 --- a/plugins/provider/vdrProvider/Makefile +++ b/plugins/provider/vdrProvider/Makefile @@ -24,13 +24,16 @@ VDRLIBDIR ?= $(UPNPDIR)/../../lib APIVERSION = $(shell sed -ne '/define UPNPPLUGIN_VERSION/s/^.*"\(.*\)".*$$/\1/p' $(UPNPDIR)/include/plugin.h) +VDRDIR ?= $(UPNPDIR)/../../.. +VDRAPIVERSION = $(shell sed -ne '/define APIVERSION/s/^.*"\(.*\)".*$$/\1/p' $(VDRDIR)/config.h) + INCLUDES += -I$(UPNPDIR)/include DEFINES += -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE OBJS = $(SCHEMA)Provider.o -LIBS = -L$(VDRLIBDIR) -Wl,-R$(VDRLIBDIR) -lvdr-upnp +LIBS = -L$(VDRLIBDIR) -Wl,-R$(VDRLIBDIR) $(VDRLIBDIR)/libvdr-upnp.so.$(VDRAPIVERSION) all: libupnp-$(SCHEMA)-provider.so |