about summary refs log tree commit diff
path: root/pkgs/tools/security/doas/disable-shared.patch
blob: 2f8869ee698846437d4d0a2ac0f38d49c45e38e5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
Accept and ignore "--disable-shared" option passed by pkgsStatic.stdenv.
Without this patch, configure phase fails with "unknown option".

--- a/configure	1970-01-01 00:00:00.000000000 -0500
+++ b/configure	1970-01-01 00:00:00.000000000 -0500
@@ -46,6 +46,7 @@
 	opt=${x%%=*}
 	var=${x#*=}
 	case "$opt" in
+	--disable-shared) : ;;
 	--prefix) PREFIX=$var ;;
 	--exec-prefix) EPREFIX=$var ;;
 	--bindir) BINDIR=$var ;;