aboutsummaryrefslogtreecommitdiff
path: root/net/iodine/patches/010-cross-compile.patch
blob: 8226a69a089d3b15838e6744583f0a7b710deea0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
--- a/src/osflags
+++ b/src/osflags
@@ -16,12 +16,6 @@ link)
 		windows32)
 			echo '-lws2_32 -liphlpapi';
 		;;
-		Linux)
-			FLAGS="";
-			[ -e /usr/include/selinux/selinux.h ] && FLAGS="$FLAGS -lselinux";
-			[ -e /usr/include/systemd/sd-daemon.h ] && FLAGS="$FLAGS -lsystemd-daemon";
-			echo $FLAGS;
-		;;
 	esac
 	;;
 cflags)
@@ -34,8 +28,6 @@ cflags)
 		;;
 		Linux)
 			FLAGS="-D_GNU_SOURCE"
-			[ -e /usr/include/selinux/selinux.h ] && FLAGS="$FLAGS -DHAVE_SETCON";
-			[ -e /usr/include/systemd/sd-daemon.h ] && FLAGS="$FLAGS -DHAVE_SYSTEMD";
 			echo $FLAGS;
 		;;
 	esac