mirror of
https://github.com/systemd/systemd.git
synced 2025-01-26 14:04:03 +03:00
libudev: link against selinux if needed
This commit is contained in:
parent
d46f37fdee
commit
aa1f5304b0
@ -31,18 +31,25 @@ libudev_la_SOURCES =\
|
|||||||
../udev_utils_string.c \
|
../udev_utils_string.c \
|
||||||
../udev_utils_file.c \
|
../udev_utils_file.c \
|
||||||
../udev_sysfs.c \
|
../udev_sysfs.c \
|
||||||
../udev_node.c \
|
|
||||||
../udev_device.c \
|
../udev_device.c \
|
||||||
../udev_config.c \
|
../udev_config.c \
|
||||||
../udev_rules.c \
|
|
||||||
../udev_rules_parse.c \
|
|
||||||
../udev_db.c \
|
../udev_db.c \
|
||||||
../udev_sysdeps.c
|
../udev_sysdeps.c
|
||||||
|
|
||||||
|
if USE_SELINUX
|
||||||
|
libudev_la_SOURCES += \
|
||||||
|
../udev_selinux.c
|
||||||
|
endif
|
||||||
|
|
||||||
libudev_la_LDFLAGS = \
|
libudev_la_LDFLAGS = \
|
||||||
-version-info $(LIBUDEV_LT_CURRENT):$(LIBUDEV_LT_REVISION):$(LIBUDEV_LT_AGE) \
|
-version-info $(LIBUDEV_LT_CURRENT):$(LIBUDEV_LT_REVISION):$(LIBUDEV_LT_AGE) \
|
||||||
-export-symbols $(top_srcdir)/udev/lib/exported_symbols
|
-export-symbols $(top_srcdir)/udev/lib/exported_symbols
|
||||||
|
|
||||||
|
if USE_SELINUX
|
||||||
|
libudev_la_LIBADD = \
|
||||||
|
-lselinux
|
||||||
|
endif
|
||||||
|
|
||||||
pkgconfigdir = $(prefix)/$(libdir_name)/pkgconfig
|
pkgconfigdir = $(prefix)/$(libdir_name)/pkgconfig
|
||||||
pkgconfig_DATA = libudev.pc
|
pkgconfig_DATA = libudev.pc
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user