diff options
author | Guillem Jover <guillem@debian.org> | 2006-01-22 23:21:50 +0000 |
---|---|---|
committer | Guillem Jover <guillem@debian.org> | 2006-01-22 23:21:50 +0000 |
commit | c0fd1ee1ef4a981eefdabf0142035f7e32038343 (patch) | |
tree | 3846b5f67df07c82743eed9dce58295f30257916 /m4 | |
parent | 2a3deedc68d2c02ee1d8f731881f3d4fea52389c (diff) | |
download | dpkg-c0fd1ee1ef4a981eefdabf0142035f7e32038343.tar.gz |
When linking statically, explicitly add libsepol, even if its only a
transitive library. The proper fix should come with a pkg-config file.
Based on a patch by Bart Martens <bart.martens@advalvas.be>.
Diffstat (limited to 'm4')
-rw-r--r-- | m4/libs.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/m4/libs.m4 b/m4/libs.m4 index 23d5cc455..74644980c 100644 --- a/m4/libs.m4 +++ b/m4/libs.m4 @@ -71,7 +71,7 @@ if test "x$with_selinux" != "xno"; then [AC_DEFINE(WITH_SELINUX, 1, [Define to 1 to compile in SELinux supoprt]) if test "x$with_selinux" = "xstatic"; then - dpkg_selinux_libs="-Wl,-Bstatic -lselinux -Wl,-Bdynamic" + dpkg_selinux_libs="-Wl,-Bstatic -lselinux -lsepol -Wl,-Bdynamic" else dpkg_selinux_libs="-lselinux" fi |