opendht: fix paths in pkg-config file
This commit is contained in:
parent
d6ad6c4793
commit
8b387ff166
@ -59,6 +59,13 @@ stdenv.mkDerivation rec {
|
||||
"-DOPENDHT_PUSH_NOTIFICATIONS=ON"
|
||||
];
|
||||
|
||||
# https://github.com/savoirfairelinux/opendht/issues/612
|
||||
postPatch = ''
|
||||
substituteInPlace CMakeLists.txt \
|
||||
--replace '\$'{exec_prefix}/'$'{CMAKE_INSTALL_LIBDIR} '$'{CMAKE_INSTALL_FULL_LIBDIR} \
|
||||
--replace '\$'{prefix}/'$'{CMAKE_INSTALL_INCLUDEDIR} '$'{CMAKE_INSTALL_FULL_INCLUDEDIR}
|
||||
'';
|
||||
|
||||
outputs = [ "out" "lib" "dev" "man" ];
|
||||
|
||||
meta = with lib; {
|
||||
|
Loading…
Reference in New Issue
Block a user