Advertisement
Guest User

Untitled

a guest
Mar 4th, 2018
312
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.09 KB | None | 0 0
  1. diff -Naur -x '*.o' b/lib/Makefile a/lib/Makefile
  2. --- b/lib/Makefile 2018-02-26 18:21:06.000000000 +0100
  3. +++ a/lib/Makefile 2018-03-04 15:57:28.507301683 +0100
  4. @@ -40,7 +40,7 @@
  5. endif
  6.  
  7. ifdef USEPYTHON
  8. - BASELIBS += $(shell python-config --libs)
  9. + BASELIBS += $(shell pkg-config --libs python)
  10. LIBOBJS += python.o
  11. endif
  12.  
  13. @@ -57,7 +57,7 @@
  14. DEFINES += $(USES)
  15.  
  16. ifdef USEPYTHON
  17. - CFLAGS += $(shell python-config --includes)
  18. + CFLAGS += $(shell pkg-config --cflags python)
  19. endif
  20.  
  21. all: lib $(TEST) $(DEMO)
  22. diff -Naur -x '*.o' b/Makefile a/Makefile
  23. --- b/Makefile 2018-03-04 18:43:44.170060460 +0100
  24. +++ a/Makefile 2018-02-26 18:21:06.000000000 +0100
  25. @@ -70,7 +70,7 @@
  26. LIBS += -lrt -larchive -lcrypto
  27. LIBS += $(shell pkg-config --libs uuid)
  28. LIBS += $(shell pkg-config --libs tinyxml2)
  29. -LIBS += $(shell mysql_config --libs_r) $(shell pkg-config --libs python) $(shell pkg-config --libs jansson)
  30. +LIBS += $(shell mysql_config --libs_r) $(shell python-config --libs) $(shell pkg-config --libs jansson)
  31.  
  32. EPG2VDR_DATA_DIR = "/var/cache/vdr"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement