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 /mysqlcppconn | |
parent | d4779887636fa9ab5b477f3436bcd3728a3e30ba (diff) |
Build thread-enabled internal libmariadb on UNX
Change-Id: Ie0968b0802f5cbd9dc75906c4930586fb46d99ca
Diffstat (limited to 'mysqlcppconn')
-rw-r--r-- | mysqlcppconn/Library_mysqlcppconn.mk | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/mysqlcppconn/Library_mysqlcppconn.mk b/mysqlcppconn/Library_mysqlcppconn.mk index 6f52a26b7209..611895bf71d3 100644 --- a/mysqlcppconn/Library_mysqlcppconn.mk +++ b/mysqlcppconn/Library_mysqlcppconn.mk @@ -53,6 +53,12 @@ $(eval $(call gb_Library_set_include,mysqlcppconn,\ $(MARIADB_CFLAGS) \ )) +ifeq ($(OS),LINUX) +$(eval $(call gb_Library_add_libs,mysqlcppconn,\ + -lpthread \ +)) +endif + $(eval $(call gb_Library_add_generated_exception_objects,mysqlcppconn,\ UnpackedTarball/mysqlcppconn/driver/mysql_art_resultset \ UnpackedTarball/mysqlcppconn/driver/mysql_art_rset_metadata \ |