mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-29 19:30:11 +00:00
libaom: fixup outputs in *.cmake
Now libheif builds for me with this atop nixpkgs master.
(cherry picked from commit 99db7938f5)
This commit is contained in:
committed by
github-actions[bot]
parent
0ef35e8f35
commit
d7053997ba
@@ -87,6 +87,9 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
postFixup = ''
|
||||
moveToOutput lib/libaom.a "$static"
|
||||
substituteInPlace "$dev"/lib/cmake/*/*.cmake \
|
||||
--replace-quiet "$out/lib/libaom.a" "$static/lib/libaom.a" \
|
||||
--replace-quiet "$"'{_IMPORT_PREFIX}/include' "$dev/include"
|
||||
''
|
||||
+ lib.optionalString stdenv.hostPlatform.isStatic ''
|
||||
ln -s $static $out
|
||||
|
||||
Reference in New Issue
Block a user