From 1a4c6e10a6d378a2590a5d4349241d471ea62522 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCnter=20Obiltschnig?= Date: Wed, 4 Oct 2023 06:30:58 +0200 Subject: [PATCH] fix MySQL.make --- Data/MySQL/MySQL.make | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) 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