summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
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>