diff options
Diffstat (limited to 'm4/dpkg-libs.m4')
-rw-r--r-- | m4/dpkg-libs.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/m4/dpkg-libs.m4 b/m4/dpkg-libs.m4 index 08a19066f..19c689939 100644 --- a/m4/dpkg-libs.m4 +++ b/m4/dpkg-libs.m4 @@ -95,7 +95,7 @@ AC_DEFUN([DPKG_LIB_SELINUX], [ AC_DEFINE([WITH_LIBSELINUX], [1], [Define to 1 to compile in SELinux support]) PKG_CHECK_EXISTS([libselinux], [ - AS_IF([test "x$with_selinux" = "xstatic"], [ + AS_IF([test "x$with_libselinux" = "xstatic"], [ dpkg_selinux_libs="-Wl,-Bstatic "$($PKG_CONFIG --static --libs libselinux)" -Wl,-Bdynamic" ], [ dpkg_selinux_libs=$($PKG_CONFIG --libs libselinux) |