kumquat-buildroot/package/mariadb/0001-add-extra-check-for-librt.patch
Ryan Coe db814692d2 package/mariadb: add bug tracker link to existing patch
Signed-off-by: Ryan Coe <bluemrp9@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2019-09-21 14:40:07 +02:00

30 lines
792 B
Diff

From e6244400dfd3547531a3a3289fadbbe19873f096 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>
---
configure.cmake | 3 +++
1 file changed, 3 insertions(+)
diff --git a/configure.cmake b/configure.cmake
index 896226de954f4642a238ca6a72e0930590dc1681..77ca485fb05e6b63bb69f9561b4eabfaa208a419 100644
--- a/configure.cmake
+++ b/configure.cmake
@@ -126,6 +126,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()
FIND_PACKAGE(Threads)
SET(CMAKE_REQUIRED_LIBRARIES
--
2.9.3