[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
This commit is contained in:
jow 2010-12-15 10:34:19 +00:00
parent 5015e902a3
commit c9d00f8631

View File

@ -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
;;
*)