buildroot/package/mariadb/0001-add-extra-check-for-li...

34 lines
940 B
Diff

From 960c74ec60962f707bd41724edaa2640c0324400 Mon Sep 17 00:00:00 2001
From: Ryan Coe <bluemrp9@gmail.com>
Date: Thu, 27 Oct 2016 20:33:21 -0700
Subject: [PATCH] add extra check for librt
https://jira.mariadb.org/browse/MDEV-10841
Signed-off-by: Ryan Coe <bluemrp9@gmail.com>
[Rebased on mariadb-10.3.30]
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
[Rebased on mariadb-10.3.36]
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
configure.cmake | 3 +++
1 file changed, 3 insertions(+)
diff --git a/configure.cmake b/configure.cmake
index 1b85c31b..4a1cd847 100644
--- a/configure.cmake
+++ b/configure.cmake
@@ -134,6 +134,9 @@ IF(UNIX)
IF(NOT LIBRT)
MY_SEARCH_LIBS(clock_gettime rt LIBRT)
ENDIF()
+ IF(NOT LIBRT)
+ MY_SEARCH_LIBS(posix_spawn_file_actions_addclose rt LIBRT)
+ ENDIF()
MY_SEARCH_LIBS(backtrace_symbols_fd execinfo LIBEXECINFO)
set(THREADS_PREFER_PTHREAD_FLAG ON)
--
2.32.0