iproute2: disable SELinux for now
[openwrt/staging/chunkeey.git] / package / network / utils / iproute2 / patches / 300-selinux-configurable.patch
diff --git a/package/network/utils/iproute2/patches/300-selinux-configurable.patch b/package/network/utils/iproute2/patches/300-selinux-configurable.patch
new file mode 100644 (file)
index 0000000..4cda30f
--- /dev/null
@@ -0,0 +1,11 @@
+--- a/configure
++++ b/configure
+@@ -244,7 +244,7 @@ check_elf()
+ check_selinux()
+ # SELinux is a compile time option in the ss utility
+ {
+-      if ${PKG_CONFIG} libselinux --exists; then
++      if [ "${HAVE_SELINUX}" = "y" ] && ${PKG_CONFIG} libselinux --exists; then
+               echo "HAVE_SELINUX:=y" >>$CONFIG
+               echo "yes"