mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 05:00:16 +00:00
libarchive: add propagatedBuildInputs for attr and acl to appease pkgconfig dependencies
This commit is contained in:
parent
df42fe1582
commit
42f46936bb
|
@ -21,6 +21,9 @@ stdenv.mkDerivation rec {
|
|||
buildInputs = [ sharutils libxml2 zlib bzip2 openssl xz lzo ] ++
|
||||
stdenv.lib.optionals stdenv.isLinux [ e2fsprogs attr acl ];
|
||||
|
||||
# Without this, pkgconfig-based dependencies are unhappy
|
||||
propagatedBuildInputs = stdenv.lib.optionals stdenv.isLinux [ attr acl ];
|
||||
|
||||
preBuild = if stdenv.isCygwin then ''
|
||||
echo "#include <windows.h>" >> config.h
|
||||
'' else null;
|
||||
|
|
Loading…
Reference in a new issue