json-c: split into multiple outputs
This commit is contained in:
parent
7a030ac3dc
commit
5f58c0b687
@ -9,11 +9,13 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
patches = [ ./unused-variable.patch ];
|
patches = [ ./unused-variable.patch ];
|
||||||
|
|
||||||
buildInputs = [ autoreconfHook ]; # won't configure without it, no idea why
|
outputs = [ "dev" "out" ];
|
||||||
|
|
||||||
|
nativeBuildInputs = [ autoreconfHook ]; # won't configure without it, no idea why
|
||||||
|
|
||||||
# compatibility hack (for mypaint at least)
|
# compatibility hack (for mypaint at least)
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
ln -s json-c.pc "$out/lib/pkgconfig/json.pc"
|
ln -s json-c.pc "$dev/lib/pkgconfig/json.pc"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user