wmctrl: support cross-compilation
Add dependencies on correct place for cross-compiling. Fix issue where 'glib.h' cannot be found when cross-compiling.
This commit is contained in:
parent
1eb893a860
commit
65394f22e2
|
@ -17,7 +17,9 @@ stdenv.mkDerivation rec {
|
||||||
sha256 = "1afclc57b9017a73mfs9w7lbdvdipmf9q0xdk116f61gnvyix2np";
|
sha256 = "1afclc57b9017a73mfs9w7lbdvdipmf9q0xdk116f61gnvyix2np";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config ];
|
strictDeps = true;
|
||||||
|
depsBuildBuild = [ pkg-config ];
|
||||||
|
nativeBuildInputs = [ glib.dev ];
|
||||||
buildInputs = [ libX11 libXmu glib ];
|
buildInputs = [ libX11 libXmu glib ];
|
||||||
|
|
||||||
patches = [ ./64-bit-data.patch ];
|
patches = [ ./64-bit-data.patch ];
|
||||||
|
|
Loading…
Reference in a new issue