pkgsStatic.dash: fix build
pkg-config wrapper does not provide a named binary.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user