Blob Blame History Raw
diff -Naur vdr-plugin-scraper2vdr-30008b3000e6421e6a54d0dc43a2e952e6a6617d/Makefile vdr-plugin-scraper2vdr-30008b3000e6421e6a54d0dc43a2e952e6a6617d.new/Makefile
--- vdr-plugin-scraper2vdr-30008b3000e6421e6a54d0dc43a2e952e6a6617d/Makefile	2014-04-28 17:57:52.470953251 +0200
+++ vdr-plugin-scraper2vdr-30008b3000e6421e6a54d0dc43a2e952e6a6617d.new/Makefile	2014-04-28 17:58:25.169992119 +0200
@@ -35,7 +35,9 @@
 
 -include $(PLGCFG)
 
-LIBS = -lmysqlclient_r -luuid
+LIBS = -luuid
+LIBS += $(shell mysql_config --libs)
+CFLAGS += $(shell mysql_config --include)
 
 ### The name of the distribution archive: