diff --git a/Data/MySQL/MySQL.make b/Data/MySQL/MySQL.make index 878c1fbd7..232f15184 100644 --- a/Data/MySQL/MySQL.make +++ b/Data/MySQL/MySQL.make @@ -22,16 +22,16 @@ ifneq (, $(POCO_MYSQL_CONFIG)) else ifndef POCO_MYSQL_INCLUDE ifeq (0, $(shell test -d /usr/local/include/mysql; echo $$?)) - POCO_MYSQL_INCLUDE = -I/usr/local/include + POCO_MYSQL_INCLUDE = /usr/local/include else ifeq (0, $(shell test -d /usr/local/opt/mysql-client/include/mysql; echo $$?)) - POCO_MYSQL_INCLUDE = -I/usr/local/opt/mysql-client/include/mysql + POCO_MYSQL_INCLUDE = /usr/local/opt/mysql-client/include/mysql else ifeq (0, $(shell test -d /usr/local/opt/mysql-client/include; echo $$?)) - POCO_MYSQL_INCLUDE = -I/usr/local/opt/mysql-client/include + POCO_MYSQL_INCLUDE = /usr/local/opt/mysql-client/include else ifeq (0, $(shell test -d /opt/homebrew/opt/mysql-client/include; echo $$?)) - POCO_MYSQL_INCLUDE = -I/opt/homebrew/opt/mysql-client/include + POCO_MYSQL_INCLUDE = /opt/homebrew/opt/mysql-client/include endif endif endif @@ -40,13 +40,13 @@ else ifndef POCO_MYSQL_LIB ifeq (0, $(shell test -d /usr/local/include/mysql; echo $$?)) - POCO_MYSQL_LIB = -L/usr/local/lib + POCO_MYSQL_LIB = /usr/local/lib else ifeq (0, $(shell test -d /usr/local/opt/mysql-client/lib; echo $$?)) - POCO_MYSQL_LIB = -L/usr/local/opt/mysql-client/lib + POCO_MYSQL_LIB = /usr/local/opt/mysql-client/lib else ifeq (0, $(shell test -d /opt/homebrew/opt/mysql-client/lib; echo $$?)) - POCO_MYSQL_LIB = -L/opt/homebrew/opt/mysql-client/lib + POCO_MYSQL_LIB = /opt/homebrew/opt/mysql-client/lib endif endif endif @@ -54,8 +54,8 @@ else endif ifdef POCO_MYSQL_INCLUDE - INCLUDE += $(POCO_MYSQL_INCLUDE) + INCLUDE += -I$(POCO_MYSQL_INCLUDE) endif ifdef POCO_MYSQL_LIB - SYSLIBS += $(POCO_MYSQL_LIB) + SYSLIBS += -L$(POCO_MYSQL_LIB) endif