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.
31 lines
814 B
31 lines
814 B
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>
|
|
---
|
|
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()
|
|
set(THREADS_PREFER_PTHREAD_FLAG ON)
|
|
FIND_PACKAGE(Threads)
|
|
|
|
--
|
|
2.32.0
|
|
|
|
|