summaryrefslogtreecommitdiff
path: root/mysqlc
diff options
context:
space:
mode:
authorFridrich Štrba <fridrich.strba@bluewin.ch>2013-03-14 09:18:37 +0100
committerFridrich Štrba <fridrich.strba@bluewin.ch>2013-03-14 09:18:50 +0100
commit77cc0cb72f88806ee13682ac868b9e468a070400 (patch)
tree7c4621346dc419165b4fa346875bfa49c71f5121 /mysqlc
parentd4779887636fa9ab5b477f3436bcd3728a3e30ba (diff)
Build thread-enabled internal libmariadb on UNX
Change-Id: Ie0968b0802f5cbd9dc75906c4930586fb46d99ca
Diffstat (limited to 'mysqlc')
-rw-r--r--mysqlc/Library_mysqlc.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/mysqlc/Library_mysqlc.mk b/mysqlc/Library_mysqlc.mk
index d67d314eb5ac..fd09ba170ff0 100644
--- a/mysqlc/Library_mysqlc.mk
+++ b/mysqlc/Library_mysqlc.mk
@@ -36,6 +36,12 @@ $(eval $(call gb_Library_use_libraries,mysqlc,\
cppuhelper \
))
+ifeq ($(OS),LINUX)
+$(eval $(call gb_Library_add_libs,mysqlc,\
+ -lpthread \
+))
+endif
+
$(eval $(call gb_Library_add_defs,mysqlc,\
-DCPPDBC_EXPORTS \
-DCPPCONN_LIB_BUILD \