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/profiler/vdrDVBProfiler | |
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/profiler/vdrDVBProfiler')
-rw-r--r-- | plugins/profiler/vdrDVBProfiler/Makefile | 5 |
1 files changed, 4 insertions, 1 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 |