summaryrefslogtreecommitdiff
path: root/external
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2014-09-03 15:25:29 +0200
committerNorbert Thiebaud <nthiebaud@gmail.com>2014-09-04 08:23:12 +0200
commite68a4a40ee3d321307029388107537ecee288e18 (patch)
treecb55c48ebb58770d71fbf3a2257465a016504a14 /external
parent4c232e49621065d6b12e087333f44a224f788d71 (diff)
non-system mariadb need iconv
Change-Id: I2c150d9adf9f5d21b36c9cf57f62e214dc97b680
Diffstat (limited to 'external')
-rw-r--r--external/mysqlcppconn/Library_mysqlcppconn.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/external/mysqlcppconn/Library_mysqlcppconn.mk b/external/mysqlcppconn/Library_mysqlcppconn.mk
index 2abfcb3a482f..2d9b353c30d1 100644
--- a/external/mysqlcppconn/Library_mysqlcppconn.mk
+++ b/external/mysqlcppconn/Library_mysqlcppconn.mk
@@ -24,6 +24,12 @@ $(eval $(call gb_Library_add_libs,mysqlcppconn,\
endif
+ifeq ($(SYSTEM_MARIADB),)
+$(eval $(call gb_Library_use_externals,mysqlcppconn,\
+ iconv \
+))
+endif
+
$(eval $(call gb_Library_set_warnings_not_errors,mysqlcppconn))
$(eval $(call gb_Library_set_generated_cxx_suffix,mysqlcppconn,cpp))