You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-db/mysql-connector-c++/files/mysql-connector-c++-1.1.11-...

16 lines
440 B

https://bugs.mysql.com/bug.php?id=90727
--- a/FindMySQL.cmake
+++ b/FindMySQL.cmake
@@ -700,8 +700,10 @@ endif()
# For dynamic linking use the built-in sys and strings
if(NOT MYSQLCLIENT_STATIC_LINKING)
+IF(CMAKE_SYSTEM_NAME MATCHES "SunOS")
list(APPEND SYS_LIBRARIES "mysql_sys")
list(APPEND SYS_LIBRARIES "mysql_strings")
+endif()
list(APPEND SYS_LIBRARIES ${MYSQL_LIBRARIES})
SET(MYSQL_LIBRARIES ${SYS_LIBRARIES})