From c9d00f86312cd929f099d366c46e5b899268f0e3 Mon Sep 17 00:00:00 2001 From: jow Date: Wed, 15 Dec 2010 10:34:19 +0000 Subject: [PATCH] [packages] iodine: make it cross compiling save, prevents probing the host for selinux support git-svn-id: svn://svn.openwrt.org/openwrt/packages@24603 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- net/iodine/patches/010-cross-compile.patch | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 net/iodine/patches/010-cross-compile.patch diff --git a/net/iodine/patches/010-cross-compile.patch b/net/iodine/patches/010-cross-compile.patch new file mode 100644 index 000000000..5ee860a0e --- /dev/null +++ b/net/iodine/patches/010-cross-compile.patch @@ -0,0 +1,22 @@ +--- a/src/osflags ++++ b/src/osflags +@@ -16,9 +16,6 @@ link) + windows32) + echo '-lws2_32 -liphlpapi'; + ;; +- Linux) +- [ -e /usr/include/selinux/selinux.h ] && echo '-lselinux'; +- ;; + esac + ;; + cflags) +@@ -26,9 +23,6 @@ cflags) + BeOS) + echo '-Dsocklen_t=int'; + ;; +- Linux) +- [ -e /usr/include/selinux/selinux.h ] && echo '-DHAVE_SETCON'; +- ;; + esac + ;; + *) -- 2.11.0