From: jow Date: Wed, 15 Dec 2010 10:34:19 +0000 (+0000) Subject: [packages] iodine: make it cross compiling save, prevents probing the host for selinu... X-Git-Url: http://207.154.207.93/?a=commitdiff_plain;h=c9d00f86312cd929f099d366c46e5b899268f0e3;p=packages.git [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 --- 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 + ;; + *)