diff options
author | Michael Stahl <mstahl@redhat.com> | 2013-02-07 13:38:35 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2013-02-07 14:36:26 +0100 |
commit | 8960f0de2e8b957f383ec659b308cc459dcf475b (patch) | |
tree | 680d90fa1cf1e092a86d1c6acdf9100e8c6b2b74 /mysqlcppconn/Library_mysqlcppconn.mk | |
parent | mysqlc: remove component_writeInfo with passive registration (diff) | |
download | core-8960f0de2e8b957f383ec659b308cc459dcf475b.tar.gz core-8960f0de2e8b957f383ec659b308cc459dcf475b.zip |
mysqlcppconn: export sql_mysql_get_driver_instance on all platforms
It was only exported in an MSVC build before, which is a regression from
the gbuild conversion (c322d509231f9e1220fb86be68f13c5f4b135ccb).
Change-Id: I46783dc5fff5383bad8f8292c615ba8daa071cf9
Diffstat (limited to 'mysqlcppconn/Library_mysqlcppconn.mk')
-rw-r--r-- | mysqlcppconn/Library_mysqlcppconn.mk | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/mysqlcppconn/Library_mysqlcppconn.mk b/mysqlcppconn/Library_mysqlcppconn.mk index 6ebc0364ddf6..f71e3a362dff 100644 --- a/mysqlcppconn/Library_mysqlcppconn.mk +++ b/mysqlcppconn/Library_mysqlcppconn.mk @@ -26,15 +26,8 @@ $(eval $(call gb_Library_set_include,mysqlcppconn,\ -I$(call gb_UnpackedTarball_get_dir,mysqlcppconn)/cppconn \ )) -# HACK: generate import lib for msvc -ifeq ($(COM),MSC) -$(eval $(call gb_Library_add_ldflags,mysqlcppconn,\ - /EXPORT:sql_mysql_get_driver_instance \ -)) -endif - $(eval $(call gb_Library_add_defs,mysqlcppconn,\ - -DCPPCONN_LIB_BUILD \ + -Dmysqlcppconn_EXPORTS \ $(if $(filter WNT,$(OS)),\ -DCPPDBC_WIN32 \ -D_CRT_SECURE_NO_WARNINGS \ |