exiv2: fix paths in *.cmake
The recent merge #131868 (2c1ce604
) broke digikam build through this.
This commit is contained in:
parent
d5f2378729
commit
07dd74b828
@ -103,6 +103,15 @@ stdenv.mkDerivation rec {
|
||||
remove-references-to -t ${stdenv.cc.cc} $lib/lib/*.so.*.*.* $out/bin/exiv2 $static/lib/*.a
|
||||
'';
|
||||
|
||||
postFixup = ''
|
||||
substituteInPlace "$dev"/lib/cmake/exiv2/exiv2Config.cmake --replace \
|
||||
"set(_IMPORT_PREFIX \"$out\")" \
|
||||
"set(_IMPORT_PREFIX \"$static\")"
|
||||
substituteInPlace "$dev"/lib/cmake/exiv2/exiv2Config-*.cmake --replace \
|
||||
"$lib/lib/libexiv2-xmp.a" \
|
||||
"$static/lib/libexiv2-xmp.a"
|
||||
'';
|
||||
|
||||
disallowedReferences = [ stdenv.cc.cc ];
|
||||
|
||||
meta = with lib; {
|
||||
|
Loading…
Reference in New Issue
Block a user