packages/net/iodine/patches/010-cross-compile.patch
jow c9d00f8631 [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
2010-12-15 10:34:19 +00:00

23 lines
379 B
Diff

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