mirror of
https://github.com/oxen-io/lokinet.git
synced 2024-11-03 23:15:52 +00:00
No LINUX variable in cmake
This commit is contained in:
parent
96b5a3213c
commit
d47a019894
23
debian/patches/0008-No-LINUX-variable-in-cmake.patch
vendored
Normal file
23
debian/patches/0008-No-LINUX-variable-in-cmake.patch
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
From: Jason Rhinelander <jason@imaginary.ca>
|
||||
Date: Wed, 22 Apr 2020 12:00:09 -0300
|
||||
Subject: No LINUX variable in cmake
|
||||
|
||||
Just let the pkg_check fail when libsystemd isn't install; it shouldn't
|
||||
hurt anything.
|
||||
---
|
||||
CMakeLists.txt | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 1826d6b..bd329c6 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -234,7 +234,7 @@ endif(JEMALLOC)
|
||||
|
||||
|
||||
find_package(PkgConfig QUIET)
|
||||
-if(PKG_CONFIG_FOUND AND LINUX)
|
||||
+if(PKG_CONFIG_FOUND)
|
||||
pkg_check_modules(SD libsystemd)
|
||||
# Default WITH_SYSTEMD to true if we found it
|
||||
option(WITH_SYSTEMD "enable systemd integration for sd_notify" ${SD_FOUND})
|
1
debian/patches/series
vendored
1
debian/patches/series
vendored
@ -5,3 +5,4 @@
|
||||
0006-Add-no-resolvconf-hack-to-default-config.patch
|
||||
0007-Pass-debian-version-as-GIT_VERSION.patch
|
||||
0007-PATCH-update-lokinetmon-to-work-again-with-dns-rebin.patch
|
||||
0008-No-LINUX-variable-in-cmake.patch
|
||||
|
Loading…
Reference in New Issue
Block a user