cog: fix path in pkg-config file

This commit is contained in:
Alexander Shpilkin 2022-05-16 15:36:32 +03:00 committed by Artturin
parent 6f1dd9a209
commit 23fa3f2fde

View File

@ -53,6 +53,12 @@ stdenv.mkDerivation rec {
"-DCOG_USE_WEBKITGTK=ON"
];
# https://github.com/Igalia/cog/issues/438
postPatch = ''
substituteInPlace core/cogcore.pc.in \
--replace '$'{prefix}/@CMAKE_INSTALL_LIBDIR@ @CMAKE_INSTALL_FULL_LIBDIR@
'';
# not ideal, see https://github.com/WebPlatformForEmbedded/libwpe/issues/59
preFixup = ''
wrapProgram $out/bin/cog \