diff options
author | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2013-03-14 09:18:37 +0100 |
---|---|---|
committer | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2013-03-14 09:18:50 +0100 |
commit | 77cc0cb72f88806ee13682ac868b9e468a070400 (patch) | |
tree | 7c4621346dc419165b4fa346875bfa49c71f5121 /mysqlc | |
parent | d4779887636fa9ab5b477f3436bcd3728a3e30ba (diff) |
Build thread-enabled internal libmariadb on UNX
Change-Id: Ie0968b0802f5cbd9dc75906c4930586fb46d99ca
Diffstat (limited to 'mysqlc')
-rw-r--r-- | mysqlc/Library_mysqlc.mk | 6 |
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 \ |