This is an automated email from the git hooks/post-receive script.

guillem pushed a commit to branch main
in repository dpkg.

View the commit online:
https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=db6cf585c8ab6ac2e03b8a2f6c961c07be584efa

commit db6cf585c8ab6ac2e03b8a2f6c961c07be584efa
Author: Guillem Jover <[email protected]>
AuthorDate: Thu Nov 9 01:22:56 2023 +0100

    build: Replace action-if-found with : for extra libselinux check
    
    If we do not replace this argument with a no-op, then we get the library
    added into LIBS, which means we overlink for things that are not really
    using libselinux.
    
    Fixes: commit d7e7c430d1dd1b26666cf8f22989ebc110a4a2cf
---
 m4/dpkg-libs.m4 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/m4/dpkg-libs.m4 b/m4/dpkg-libs.m4
index 21b9c0b1d..9ef526390 100644
--- a/m4/dpkg-libs.m4
+++ b/m4/dpkg-libs.m4
@@ -146,7 +146,7 @@ AC_DEFUN([DPKG_LIB_SELINUX], [
           AC_MSG_FAILURE([libselinux header not found])
         ])
       ])
-      AC_CHECK_LIB([selinux], [setexecfilecon], [], [
+      AC_CHECK_LIB([selinux], [setexecfilecon], [:], [
         AC_MSG_FAILURE([libselinux does not support setexecfilecon()])
       ])
     ], [

-- 
Dpkg.Org's dpkg

Reply via email to