libdnf: fix path in pkg-config file

authored by Alexander Shpilkin and committed by Artturin 722cacf9 3bbc6d78

+5 -1
+5 -1
pkgs/tools/package-management/libdnf/default.nix
··· 41 41 cp ${libsolv}/share/cmake/Modules/FindLibSolv.cmake cmake/modules/ 42 42 ''; 43 43 44 - # See https://github.com/NixOS/nixpkgs/issues/107428 45 44 postPatch = '' 45 + # See https://github.com/NixOS/nixpkgs/issues/107428 46 46 substituteInPlace CMakeLists.txt \ 47 47 --replace "enable_testing()" "" \ 48 48 --replace "add_subdirectory(tests)" "" 49 + 50 + # https://github.com/rpm-software-management/libdnf/issues/1518 51 + substituteInPlace libdnf/libdnf.pc.in \ 52 + --replace '$'{prefix}/@CMAKE_INSTALL_LIBDIR@ @CMAKE_INSTALL_FULL_LIBDIR@ 49 53 ''; 50 54 51 55 cmakeFlags = [