mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
Merge from bittboy/buildroot@db180c0
This commit is contained in:
27
package/mariadb/0001-add-extra-check-for-librt.patch
Normal file
27
package/mariadb/0001-add-extra-check-for-librt.patch
Normal file
@@ -0,0 +1,27 @@
|
||||
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
|
||||
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user