From 9cada1952a371e1b74b5e4bcae020ca1e88fdec8 Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Tue, 15 Oct 2013 02:11:56 +0200 Subject: [PATCH 1/1] build-sys: libudev - get rid of the needless selinux linking (again) --- Makefile.am | 6 +----- src/libudev/libudev.pc.in | 1 - 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/Makefile.am b/Makefile.am index 66012441c..76d1eeb39 100644 --- a/Makefile.am +++ b/Makefile.am @@ -2198,9 +2198,7 @@ libudev_la_LDFLAGS = \ libudev_la_LIBADD = \ libsystemd-shared.la \ - libsystemd-label.la \ libsystemd-daemon-internal.la \ - $(RT_LIBS) \ libsystemd-id128-internal.la pkgconfiglib_DATA += \ @@ -2372,7 +2370,6 @@ libudev_core_la_LIBADD = \ libudev-private.la \ libsystemd-label.la \ libsystemd-daemon-internal.la \ - $(RT_LIBS) \ libsystemd-shared.la \ $(BLKID_LIBS) \ $(KMOD_LIBS) @@ -2434,6 +2431,7 @@ udevadm_SOURCES = \ udevadm_LDADD = \ libudev-core.la \ + libsystemd-label.la \ libsystemd-shared.la # Update hwdb on installation. Do not bother if installing @@ -2761,7 +2759,6 @@ libsystemd_id128_la_LDFLAGS = \ libsystemd_id128_la_LIBADD = \ libsystemd-shared.la \ - libsystemd-label.la \ libsystemd-daemon-internal.la \ $(RT_LIBS) @@ -3013,7 +3010,6 @@ libsystemd_journal_internal_la_CFLAGS = \ $(AM_CFLAGS) libsystemd_journal_internal_la_LIBADD = \ - libsystemd-label.la \ libsystemd-audit.la \ libsystemd-daemon.la \ libudev.la \ diff --git a/src/libudev/libudev.pc.in b/src/libudev/libudev.pc.in index 2b183e9dc..a0f3f524e 100644 --- a/src/libudev/libudev.pc.in +++ b/src/libudev/libudev.pc.in @@ -14,5 +14,4 @@ Name: libudev Description: Library to access udev device information Version: @VERSION@ Libs: -L${libdir} -ludev -Libs.private: -lrt Cflags: -I${includedir} -- 2.30.2