iodine: make it cross compiling save, prevents probing the host for selinux support
authorJo-Philipp Wich <jow@openwrt.org>
Wed, 15 Dec 2010 10:34:19 +0000 (10:34 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Wed, 15 Dec 2010 10:34:19 +0000 (10:34 +0000)
SVN-Revision: 24603

net/iodine/patches/010-cross-compile.patch [new file with mode: 0644]

diff --git a/net/iodine/patches/010-cross-compile.patch b/net/iodine/patches/010-cross-compile.patch
new file mode 100644 (file)
index 0000000..5ee860a
--- /dev/null
@@ -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
+ ;;
+ *)