changeset 395:a7a029043670 db-protobuf

integration mainline->db-protobuf
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 05 Apr 2023 14:53:57 +0200
parents d941568543a0 (current diff) 2fd272ea8f00 (diff)
children 7b3acfa95bd8
files
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Resources/CMake/DatabasesPluginConfiguration.cmake	Wed Apr 05 12:31:04 2023 +0200
+++ b/Resources/CMake/DatabasesPluginConfiguration.cmake	Wed Apr 05 14:53:57 2023 +0200
@@ -88,7 +88,8 @@
   )
 
 
-if (STATIC_BUILD OR NOT USE_SYSTEM_PROTOBUF)
+if ((STATIC_BUILD OR NOT USE_SYSTEM_PROTOBUF) AND
+    CMAKE_SYSTEM_VERSION STREQUAL "LinuxStandardBase")
   # This is necessary, at least on LSB (Linux Standard Base),
   # otherwise the following error is generated: "undefined reference
   # to `__tls_get_addr'"