mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +00:00
gnome2.libglade: fix cross
enable strictDeps, checked with diffing
This commit is contained in:
parent
139b44eed3
commit
9165c8adad
@ -11,10 +11,18 @@ stdenv.mkDerivation rec {
|
||||
|
||||
outputs = [ "out" "dev" ];
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [ gtk2 gettext ];
|
||||
strictDeps = true;
|
||||
|
||||
nativeBuildInputs = [ pkg-config gettext ];
|
||||
buildInputs = [ gtk2 ];
|
||||
propagatedBuildInputs = [ libxml2 ];
|
||||
|
||||
postPatch = ''
|
||||
# uses pkg-config in some places and uses the correct $PKG_CONFIG in some
|
||||
# it's an ancient library so it has very old configure scripts and m4
|
||||
substituteInPlace ./configure \
|
||||
--replace "pkg-config" "$PKG_CONFIG"
|
||||
'';
|
||||
|
||||
NIX_LDFLAGS = "-lgmodule-2.0";
|
||||
|
||||
propagatedBuildInputs = [ libxml2 ];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user