]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
support: Also put libaudit, libcap into the testroot if present
authorFlorian Weimer <fweimer@redhat.com>
Wed, 4 Feb 2026 08:46:07 +0000 (09:46 +0100)
committerFlorian Weimer <fweimer@redhat.com>
Wed, 4 Feb 2026 08:46:07 +0000 (09:46 +0100)
Some configurations of nscd are linked against those libraries.

support/Makefile

index bcdbe12cfe10cf9affd53332578ae1a0ad9b9d2d..bd60466ad06bf67d3219f0e13d348009c671d3e6 100644 (file)
@@ -309,6 +309,12 @@ endif
 ifeq (yes,$(have-selinux))
 LDLIBS-$(LINKS_DSO_PROGRAM) += -lselinux
 endif
+ifeq (yes,$(have-libaudit))
+LDLIBS-$(LINKS_DSO_PROGRAM) += -laudit
+endif
+ifeq (yes,$(have-libcap))
+LDLIBS-$(LINKS_DSO_PROGRAM) += -lcap
+endif
 
 
 LDLIBS-test-container = $(libsupport)