[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:
parent
5015e902a3
commit
c9d00f8631
22
net/iodine/patches/010-cross-compile.patch
Normal file
22
net/iodine/patches/010-cross-compile.patch
Normal 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
|
||||
;;
|
||||
*)
|
Loading…
x
Reference in New Issue
Block a user