summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 59fc56d..931aabe 100644
--- a/Makefile
+++ b/Makefile
@@ -66,11 +66,15 @@ OBJS = $(PLUGIN).o \
status.o ttools.o svdrpclient.o \
menu.o menusched.o menutimers.o menudone.o menusearchtimer.o
-LIBS = $(HLIB)
+LIBS += $(HLIB)
LIBS += -lrt -larchive -lcrypto
LIBS += $(shell pkg-config --libs uuid)
LIBS += $(shell pkg-config --libs tinyxml2)
LIBS += $(shell mysql_config --libs_r)
+ifdef USEPYTHON
+ CFLAGS += $(shell $(PYTHON)-config --includes)
+ LIBS += $(PYTHON_LIBS)
+endif
LIBS += $(shell pkg-config --libs jansson)
EPG2VDR_DATA_DIR = "/var/cache/vdr"