dbus.{tools,daemon}: don't provide a wrong dbus-1.pc
Fixes #6086. I think this will rebuild most of KDE and GNOME due to strigi and upower.
This commit is contained in:
parent
7d6cd236c3
commit
8ec4c682a7
@ -91,6 +91,13 @@ let
|
|||||||
stdenv.lib.optionalString (!stdenv.isDarwin) "-Wl,--as-needed "
|
stdenv.lib.optionalString (!stdenv.isDarwin) "-Wl,--as-needed "
|
||||||
+ "-ldbus-1";
|
+ "-ldbus-1";
|
||||||
|
|
||||||
|
# don't provide another dbus-1.pc (with incorrect include and link dirs),
|
||||||
|
# also remove useless empty dirs
|
||||||
|
postInstall = ''
|
||||||
|
rm "$out"/lib/pkgconfig/dbus-1.pc
|
||||||
|
rmdir --parents --ignore-fail-on-non-empty "$out"/{lib/pkgconfig,share/dbus-1/*}
|
||||||
|
'';
|
||||||
|
|
||||||
meta.platforms = with stdenv.lib.platforms; allBut darwin;
|
meta.platforms = with stdenv.lib.platforms; allBut darwin;
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -101,3 +108,4 @@ let
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
in attrs.libs // attrs
|
in attrs.libs // attrs
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user