summaryrefslogtreecommitdiff
path: root/m4/dpkg-libs.m4
diff options
context:
space:
mode:
authorGuillem Jover <guillem@debian.org>2016-08-29 00:33:44 +0200
committerGuillem Jover <guillem@debian.org>2016-10-29 16:02:49 +0200
commitab756a6fda75316b9498d4275be5f8b8cf801557 (patch)
treea2bcbb490048e225c3de47ddef2588e310e001af /m4/dpkg-libs.m4
parent568d1c90483e3b04977107b51afdc088d2b032c2 (diff)
downloaddpkg-ab756a6fda75316b9498d4275be5f8b8cf801557.tar.gz
build: Fix typo in SE Linux library detection code
Although this only affected the static mode. Regression introduced in commit 067295e958dcc9af87d2adfd0c697e9f87ef7b73.
Diffstat (limited to 'm4/dpkg-libs.m4')
-rw-r--r--m4/dpkg-libs.m42
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)