forked from mirrors/nixpkgs
pkgsStatic.dash: fix build
pkg-config wrapper does not provide a named binary.
This commit is contained in:
parent
8df1ea3269
commit
b08fa40e69
|
@ -46,7 +46,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
configureFlags = [ "--with-libedit" ];
|
||||
preConfigure = lib.optional stdenv.hostPlatform.isStatic ''
|
||||
export LIBS="$(pkg-config --libs --static libedit)"
|
||||
export LIBS="$(''${PKG_CONFIG:-pkg-config} --libs --static libedit)"
|
||||
'';
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
|
Loading…
Reference in a new issue