diff -Naur vdr-plugin-epg2vdr-324f3928b068255f0c4bf6ed0a575485f5ead1c4/Makefile.pre-1.7.35 vdr-plugin-epg2vdr-324f3928b068255f0c4bf6ed0a575485f5ead1c4.new/Makefile.pre-1.7.35
--- vdr-plugin-epg2vdr-324f3928b068255f0c4bf6ed0a575485f5ead1c4/Makefile.pre-1.7.35 2014-03-22 17:30:38.000000000 +0100
+++ vdr-plugin-epg2vdr-324f3928b068255f0c4bf6ed0a575485f5ead1c4.new/Makefile.pre-1.7.35 2014-05-01 14:03:28.829117545 +0200
@@ -35,7 +35,7 @@
### Libraries
-LIBS = -lmysqlclient
+LIBS = $(shell mysql_config --libs)
### Allow user defined options to overwrite defaults:
diff -Naur vdr-plugin-epg2vdr-324f3928b068255f0c4bf6ed0a575485f5ead1c4/Makefile.since-1.7.35 vdr-plugin-epg2vdr-324f3928b068255f0c4bf6ed0a575485f5ead1c4.new/Makefile.since-1.7.35
--- vdr-plugin-epg2vdr-324f3928b068255f0c4bf6ed0a575485f5ead1c4/Makefile.since-1.7.35 2014-03-22 17:30:38.000000000 +0100
+++ vdr-plugin-epg2vdr-324f3928b068255f0c4bf6ed0a575485f5ead1c4.new/Makefile.since-1.7.35 2014-05-01 14:04:54.242088490 +0200
@@ -34,7 +34,8 @@
#DEFINES += -D_IMG_LINK
-LIBS = -lmysqlclient_r -luuid
+LIBS = -luuid
+LIBS += $(shell mysql_config --libs)
EPG2VDR_DATA_DIR = "/var/cache/vdr"
ifdef EPG2VDR_DATA_DIR