depot/third_party/nixpkgs/pkgs/tools/security/doas/disable-shared.patch
Default email 01ed8ef136 Project import generated by Copybara.
GitOrigin-RevId: 20fc948445a6c22d4e8d5178e9a6bc6e1f5417c8
2022-11-21 19:40:18 +02:00

13 lines
419 B
Diff

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