mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 21:53:32 +00:00
6fd104a8ad
* Patch configure script to not die on --disable-shared * Pass -laudit when building statically with PAM support. Upstream buiild system does not use pkg-config, unfortunately.
14 lines
419 B
Diff
14 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 ;;
|