summaryrefslogtreecommitdiff
path: root/mysqlc
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2012-12-12 01:07:09 +0200
committerPeter Foley <pefoley2@verizon.net>2012-12-25 17:53:25 +0000
commitc29098917a1118d4b435df2b5f542adc8505e123 (patch)
treef9407e3cf21b49abb40d536f73364abbddcb5ea3 /mysqlc
parente5ccda4bb32eef8cab99c4d43c1571ec4bad3980 (diff)
Get rid of (most uses of) GUI
GUI only takes values UNX or WNT, so it is fairly pointless. One can check whether OS is WNT or not instead. Change-Id: I78ae32c03536a496a563e5deeb0fca78aebf9c34 Reviewed-on: https://gerrit.libreoffice.org/1304 Reviewed-by: Peter Foley <pefoley2@verizon.net> Tested-by: Peter Foley <pefoley2@verizon.net>
Diffstat (limited to 'mysqlc')
-rw-r--r--mysqlc/source/makefile.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mysqlc/source/makefile.mk b/mysqlc/source/makefile.mk
index fee187288b06..63c86df97829 100644
--- a/mysqlc/source/makefile.mk
+++ b/mysqlc/source/makefile.mk
@@ -67,7 +67,7 @@ EXTENSION_ZIPNAME:=$(EXTENSIONNAME)
.ENDIF
# use the static version
-.IF "$(GUI)"=="WNT"
+.IF "$(OS)"=="WNT"
MYSQL_LIBDIR=$(LIBMYSQL_PATH)$/lib
MYSQL_INCDIR=$(LIBMYSQL_PATH)$/include
.ELSE
@@ -91,7 +91,7 @@ CDEFS += -DCPPCONN_LIB=\"$(DLLPRE)mysqlcppconn$(DLLPOST)\"
.ENDIF
# --------------- MySQL settings ------------------
-.IF "$(GUI)"=="WNT"
+.IF "$(OS)"=="WNT"
MYSQL_INC=-I$(SOLARINCDIR)$/mysqlcppconn -I$(SOLARINCDIR)$/mysqlcppconn/cppconn -I$(MYSQL_INCDIR)
MYSQL_LIB=$(MYSQL_LIBDIR)$/libmysql.lib
MYSQL_LIBFILE=$(MYSQL_LIBDIR)$/libmysql.dll