diff options
Diffstat (limited to 'epglv/Makefile')
-rw-r--r-- | epglv/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/epglv/Makefile b/epglv/Makefile index 917fb23..82fa934 100644 --- a/epglv/Makefile +++ b/epglv/Makefile @@ -19,13 +19,14 @@ CPP_FLAGS := $(CPP_FLAGS_$(ARCH)) -Wall \ -L/usr/lib/mysql \ -L/usr/local/lib/mysql \ -I/usr/include/mysql \ - $(shell mysql_config --libs) \ + $(shell $(SQLCFG) --libs) \ + $(shell $(SQLCFG) --include) \ -DMYSQL_DYNAMIC_PLUGIN \ -DDEBUG_MYSQL=0 CC := gcc -MYSQL_PLGDIR := $(shell mysql_config --plugindir) +MYSQL_PLGDIR := $(shell $(SQLCFG) --plugindir) TARGET = mysqlepglv.so OBJS = src/epglvbase.o src/epglv.o |