mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 17:03:01 +00:00
wildmidi: fix paths in pkg-config file
This commit is contained in:
parent
aa473c6476
commit
1024921198
@ -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 = ''
|
||||
|
Loading…
Reference in New Issue
Block a user