mirror of
https://github.com/pocoproject/poco.git
synced 2024-12-12 10:13:51 +01:00
fix MySQL.make
This commit is contained in:
parent
3772163fc5
commit
c21e56d93c
@ -8,12 +8,8 @@ ifndef POCO_MYSQL_INCLUDE
|
||||
ifeq (0, $(shell test -d /usr/local/include/mysql; echo $$?))
|
||||
POCO_MYSQL_INCLUDE = /usr/local/include
|
||||
else
|
||||
ifeq (0, $(shell test -d /usr/local/opt/mysql-client; echo $$?))
|
||||
ifeq (0, $(shell test -d /usr/local/opt/mysql-client/include; echo $$?))
|
||||
POCO_MYSQL_INCLUDE = /usr/local/opt/mysql-client/include
|
||||
else
|
||||
ifeq (0, $(shell test -d /usr/local/opt/mysql; echo $$?))
|
||||
POCO_MYSQL_INCLUDE = /usr/local/opt/mysql/include
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
@ -23,11 +19,7 @@ ifeq (0, $(shell test -d /usr/local/include/mysql; echo $$?))
|
||||
POCO_MYSQL_LIB = /usr/local/lib
|
||||
else
|
||||
ifeq (0, $(shell test -d /usr/local/opt/mysql-client/lib; echo $$?))
|
||||
POCO_MYSQL_INCLUDE = /usr/local/opt/mysql-client/lib
|
||||
else
|
||||
ifeq (0, $(shell test -d /usr/local/opt/mysql/lib; echo $$?))
|
||||
POCO_MYSQL_INCLUDE = /usr/local/opt/mysql/lib
|
||||
endif
|
||||
POCO_MYSQL_LIB = /usr/local/opt/mysql-client/lib
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user