wildmidi: fix paths in pkg-config file

This commit is contained in:
Alexander Shpilkin 2022-05-09 09:15:42 +03:00 committed by Artturin
parent aa473c6476
commit 1024921198

View File

@ -18,6 +18,10 @@ stdenv.mkDerivation rec {
preConfigure = ''
substituteInPlace CMakeLists.txt \
--replace /etc/wildmidi $out/etc
# https://github.com/Mindwerks/wildmidi/issues/236
substituteInPlace src/wildmidi.pc.in \
--replace '$'{exec_prefix}/@CMAKE_INSTALL_LIBDIR@ @CMAKE_INSTALL_FULL_LIBDIR@ \
--replace '$'{exec_prefix}/@CMAKE_INSTALL_INCLUDEDIR@ @CMAKE_INSTALL_FULL_INCLUDEDIR@
'';
postInstall = ''