dbus-glib: fix cross
This commit is contained in:
parent
abb10fe7ae
commit
c2800a26b4
@ -1,4 +1,6 @@
|
|||||||
{ stdenv, fetchurl, pkgconfig, expat, gettext, libiconv, dbus, glib }:
|
{ stdenv, fetchurl, buildPackages
|
||||||
|
, pkgconfig, expat, gettext, libiconv, dbus, glib
|
||||||
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "dbus-glib-0.110";
|
name = "dbus-glib-0.110";
|
||||||
@ -11,15 +13,15 @@ stdenv.mkDerivation rec {
|
|||||||
outputs = [ "out" "dev" "devdoc" ];
|
outputs = [ "out" "dev" "devdoc" ];
|
||||||
outputBin = "dev";
|
outputBin = "dev";
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig gettext ];
|
nativeBuildInputs = [ pkgconfig gettext glib ];
|
||||||
|
|
||||||
buildInputs = [ expat libiconv ];
|
buildInputs = [ expat libiconv ];
|
||||||
|
|
||||||
propagatedBuildInputs = [ dbus glib ];
|
propagatedBuildInputs = [ dbus glib ];
|
||||||
|
|
||||||
preConfigure = ''
|
configureFlags = [ "--exec-prefix=${placeholder "dev"}" ] ++
|
||||||
configureFlagsArray+=("--exec-prefix=$dev")
|
stdenv.lib.optional (stdenv.buildPlatform != stdenv.hostPlatform)
|
||||||
'';
|
"--with-dbus-binding-tool=${buildPackages.dbus-glib.dev}/bin/dbus-binding-tool";
|
||||||
|
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user