diff options
author | Rene Engelhard <rene@openoffice.org> | 2009-12-14 23:31:19 +0100 |
---|---|---|
committer | Rene Engelhard <rene@openoffice.org> | 2009-12-14 23:31:19 +0100 |
commit | 1523eb9c6de6affffd34a919702f0a88d9ef745a (patch) | |
tree | 63941b8274bd6f8c744965d59983cced5d1ecd1d /mysqlcppconn | |
parent | 1f572df3921591f46e9c46e8f3e3d8af37998bd6 (diff) |
mysqlconnector: #i10000# fix build with system-mysql but internal mysqlcppconn. it does not make sense o specify -lmysqlcppconn in mysqlcppconn build...
Diffstat (limited to 'mysqlcppconn')
-rw-r--r-- | mysqlcppconn/mysql_config.pmk | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/mysqlcppconn/mysql_config.pmk b/mysqlcppconn/mysql_config.pmk index e18697ccbc92..eb316e0911c3 100644 --- a/mysqlcppconn/mysql_config.pmk +++ b/mysqlcppconn/mysql_config.pmk @@ -35,17 +35,11 @@ .ENDIF .ENDIF -.IF "$(GUI)"!="WNT" - -.IF "$(SYSTEM_MYSQL)" == "YES" - MYSQL_LIB+=-lmysqlcppconn -.ENDIF - -.ELSE # "$(GUI)"!="WNT" +.IF "$(GUI)"=="WNT" CFLAGS+=-DCPPDBC_WIN32 -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS -.ENDIF # "$(GUI)"!="WNT" +.ENDIF # "$(GUI)"=="WNT" .IF "$(SYSTEM_MYSQL)" != "YES" MYSQL_INC+=-I$(LIBMYSQL_PATH)$/include |