-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Commit 586a0dd
Find SELinux library with pkgconf (#13645)
The SELinux library has had pkg-config/pkgconf integration since ~2009.
To ease this change, the check without pkgconf is executed in case the
libselinux.pc file is not found on the system.
A sanity check also covers cases where the library path is overriden:
/configure --enable-fpm --with-fpm-selinux \
SELINUX_CFLAGS=-I/path/to/libselinux \
SELINUX_LIBS="-L/path/to/libselinux -lselinux"
This also removes the redundant symbol HAVE_SELINUX_SELINUX_H since the
selinux/selinux.h header is considered a required part of the SELinux
library package.1 parent d2635b1 commit 586a0dd
1 file changed
+15
-5
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
533 | 533 |
| |
534 | 534 |
| |
535 | 535 |
| |
536 | - | ||
537 | - | ||
538 | - | ||
539 | - | ||
540 | - | ||
536 | + | ||
537 | + | ||
538 | + | ||
539 | + | ||
540 | + | ||
541 | + | ||
542 | + | ||
543 | + | ||
544 | + | ||
545 | + | ||
546 | + | ||
547 | + | ||
548 | + | ||
549 | + | ||
550 | + | ||
541 | 551 |
| |
542 | 552 |
| |
543 | 553 |
| |
|
0 commit comments