1Accept and ignore "--disable-shared" option passed by pkgsStatic.stdenv.
2Without this patch, configure phase fails with "unknown option".
3
4--- a/configure 1970-01-01 00:00:00.000000000 -0500
5+++ b/configure 1970-01-01 00:00:00.000000000 -0500
6@@ -46,6 +46,7 @@
7 opt=${x%%=*}
8 var=${x#*=}
9 case "$opt" in
10+ --disable-shared) : ;;
11 --prefix) PREFIX=$var ;;
12 --exec-prefix) EPREFIX=$var ;;
13 --bindir) BINDIR=$var ;;