dbus-cpp: Fix pkg-config file
lomiri.mediascanner2 errored due to includedir being a non-existent path. TIL our pkg-config patcher requires ${prefix} to work.
This commit is contained in:
parent
99202824be
commit
68766ab4a8
1 changed files with 4 additions and 0 deletions
|
@ -60,6 +60,10 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
# Warning on aarch64-linux breaks build due to -Werror
|
||||
substituteInPlace CMakeLists.txt \
|
||||
--replace '-Werror' ""
|
||||
|
||||
# pkg-config output patching hook expects prefix variable here
|
||||
substituteInPlace data/dbus-cpp.pc.in \
|
||||
--replace 'includedir=''${exec_prefix}' 'includedir=''${prefix}'
|
||||
'' + lib.optionalString (!finalAttrs.doCheck) ''
|
||||
sed -i -e '/add_subdirectory(tests)/d' CMakeLists.txt
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue