aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorChristian Hesse <mail@eworm.de>2016-03-21 13:54:04 +0100
committerChristian Hesse <mail@eworm.de>2016-03-21 13:55:04 +0100
commitdb9ad4c12c52d4df456d9f598de704294a32123c (patch)
tree4b9f0fcd244d07af2ec1490b85cc61f9f4f44ec0 /configure
parentc431c2abe25bc34ec92baed6ea809e20cfa275c1 (diff)
downloadvis-db9ad4c12c52d4df456d9f598de704294a32123c.tar.gz
vis-db9ad4c12c52d4df456d9f598de704294a32123c.tar.xz
configure: fix condition for libselinux
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index 9908702..bb93902 100755
--- a/configure
+++ b/configure
@@ -393,8 +393,8 @@ EOF
LDFLAGS_SELINUX="-lselinux"
fi
- if $CC $CFLAGS $LDFLAGS $CFLAGS_SELINUX $LDFLAGS_SELINUX \
- -o /dev/null "$tmpc" >/dev/null 2>&1; then
+ if $CC $CFLAGS $CFLAGS_SELINUX "$tmpc" \
+ $LDFLAGS $LDFLAGS_SELINUX -o /dev/null >/dev/null 2>&1; then
CONFIG_SELINUX=1
printf "%s\n" "yes"
else