summaryrefslogtreecommitdiff
path: root/plugins/provider/vdrProvider
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/provider/vdrProvider')
-rw-r--r--plugins/provider/vdrProvider/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/provider/vdrProvider/Makefile b/plugins/provider/vdrProvider/Makefile
index 7a798d2..ce4dedd 100644
--- a/plugins/provider/vdrProvider/Makefile
+++ b/plugins/provider/vdrProvider/Makefile
@@ -20,7 +20,7 @@ CXX ?= g++
CXXFLAGS ?= -g -O3 -Wall -Werror=overloaded-virtual -Wno-parentheses -fPIC
UPNPDIR ?= ../../..
-VDRPLUGINDIR = /usr/lib/vdr/plugins/
+VDRLIBDIR ?= $(UPNPDIR)/../../lib
APIVERSION = $(shell sed -ne '/define UPNPPLUGIN_VERSION/s/^.*"\(.*\)".*$$/\1/p' $(UPNPDIR)/include/plugin.h)
@@ -30,7 +30,7 @@ DEFINES += -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFIL
OBJS = $(SCHEMA)Provider.o
-LIBS = -L$(VDRPLUGINDIR) -Wl,-R$(VDRPLUGINDIR) -lvdr-upnp
+LIBS = -L$(VDRLIBDIR) -Wl,-R$(VDRLIBDIR) -lvdr-upnp
all: libupnp-$(SCHEMA)-provider.so