Add missing hunk to the patch
OBS-URL: https://build.opensuse.org/package/show/devel:tools/pam_wrapper?expand=0&rev=14
This commit is contained in:
parent
28225e05e5
commit
4a678ba7f8
@ -1,7 +1,36 @@
|
||||
From 9beb9f9aaa223864128fd8222f0f92ba8ae697b7 Mon Sep 17 00:00:00 2001
|
||||
From: Andreas Schneider <asn@samba.org>
|
||||
Date: Wed, 22 Nov 2017 15:27:44 +0100
|
||||
Subject: [PATCH 1/2] cmake: Improve PAM_WRAPPER_LOACATION
|
||||
|
||||
Signed-off-by: Andreas Schneider <asn@samba.org>
|
||||
Reviewed-by: Ralph Boehme <slow@samba.org>
|
||||
---
|
||||
src/CMakeLists.txt | 6 +-----
|
||||
1 file changed, 1 insertion(+), 5 deletions(-)
|
||||
|
||||
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
|
||||
index 713625b..76a87d6 100644
|
||||
--- a/src/CMakeLists.txt
|
||||
+++ b/src/CMakeLists.txt
|
||||
@@ -74,8 +74,4 @@ if (PYTHONLIBS_FOUND)
|
||||
endif()
|
||||
|
||||
# This needs to be at the end
|
||||
-if (POLICY CMP0026)
|
||||
- cmake_policy(SET CMP0026 OLD)
|
||||
-endif()
|
||||
-get_target_property(PAM_WRAPPER_LOCATION pam_wrapper LOCATION)
|
||||
-set(PAM_WRAPPER_LOCATION ${PAM_WRAPPER_LOCATION} PARENT_SCOPE)
|
||||
+set(PAM_WRAPPER_LOCATION "${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_SHARED_LIBRARY_PREFIX}pam_wrapper${CMAKE_SHARED_LIBRARY_SUFFIX}" PARENT_SCOPE)
|
||||
--
|
||||
2.16.1
|
||||
|
||||
|
||||
From 5c36d4284918a3fcc1c58f29f01ca64c65a66fa7 Mon Sep 17 00:00:00 2001
|
||||
From: Andreas Schneider <asn@samba.org>
|
||||
Date: Mon, 12 Feb 2018 12:01:22 +0100
|
||||
Subject: [PATCH] cmake: Build python2 and python3 modules if possible
|
||||
Subject: [PATCH 2/2] cmake: Build python2 and python3 modules if possible
|
||||
|
||||
Signed-off-by: Andreas Schneider <asn@samba.org>
|
||||
Reviewed-by: Ralph Boehme <slow@samba.org>
|
||||
|
Loading…
x
Reference in New Issue
Block a user