summaryrefslogtreecommitdiff
path: root/mysqlc/source/makefile.mk
diff options
context:
space:
mode:
Diffstat (limited to 'mysqlc/source/makefile.mk')
-rw-r--r--mysqlc/source/makefile.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/mysqlc/source/makefile.mk b/mysqlc/source/makefile.mk
index ff1c8c83f7c4..302444758115 100644
--- a/mysqlc/source/makefile.mk
+++ b/mysqlc/source/makefile.mk
@@ -116,6 +116,9 @@ CDEFS+=-DCPPDBC_EXPORTS -DCPPCONN_LIB_BUILD
CDEFS += -DCPPCONN_LIB=\"$(DLLPRE)mysqlcppconn$(DLLPOST)\"
.ELSE
CDEFS += -DCPPCONN_LIB=\"$(shell readlink /usr/lib/libmysqlcppconn.so)\"
+.IF "$(USE_SYSTEM_STL)"!="YES"
+CDEFS += -DADAPT_EXT_STL
+.ENDIF
.ENDIF
# --------------- MySQL settings ------------------