summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorhorchi <vdr@jwendel.de>2022-01-03 19:33:30 +0100
committerhorchi <vdr@jwendel.de>2022-01-03 19:33:30 +0100
commit6f7b14aca9909652de88fb22ed5a696c9f643e06 (patch)
tree82ee4e9374a0427624901a4147c1cdc3168c027f /lib
parent81b060dd9538ff123e607630bb2afa199bdb8ef7 (diff)
downloadvdr-epg-daemon-6f7b14aca9909652de88fb22ed5a696c9f643e06.tar.gz
vdr-epg-daemon-6f7b14aca9909652de88fb22ed5a696c9f643e06.tar.bz2
2022-01-03: version 1.2.0 (horchi)\n - change: Removed dependency to mysql-compat package\n\n1.2.0
Diffstat (limited to 'lib')
-rw-r--r--lib/Makefile4
-rw-r--r--lib/db.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/Makefile b/lib/Makefile
index c17589b..037b21b 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -27,7 +27,7 @@ ifdef USECURL
endif
BASELIBS += -lrt -lz -luuid
-BASELIBS += $(shell mysql_config --libs_r)
+BASELIBS += $(shell $(SQLCFG) --libs_r)
ifdef USECURL
BASELIBS += -lcurl
@@ -59,7 +59,7 @@ ifdef DEBUG
CFLAGS += -ggdb -O0
endif
-CFLAGS += $(shell mysql_config --include)
+CFLAGS += $(shell $(SQLCFG) --include)
DEFINES += $(USES)
all: lib $(TEST) $(DEMO)
diff --git a/lib/db.h b/lib/db.h
index e57d48b..f80acdc 100644
--- a/lib/db.h
+++ b/lib/db.h
@@ -16,7 +16,7 @@
#include <stdarg.h>
#include <errno.h>
-#include <mysql/mysql.h>
+#include <mysql.h>
#include <list>