zeromq: fix paths in pkg-config file

This commit is contained in:
wyndon 2023-11-25 16:25:43 +01:00
parent 3c49f77e2f
commit 283960913a
No known key found for this signature in database

View File

@ -26,6 +26,12 @@ stdenv.mkDerivation rec {
cmakeFlags = lib.optional enableDrafts "-DENABLE_DRAFTS=ON";
postPatch = ''
substituteInPlace CMakeLists.txt \
--replace '$'{prefix}/'$'{CMAKE_INSTALL_LIBDIR} '$'{CMAKE_INSTALL_FULL_LIBDIR} \
--replace '$'{prefix}/'$'{CMAKE_INSTALL_INCLUDEDIR} '$'{CMAKE_INSTALL_FULL_INCLUDEDIR}
'';
meta = with lib; {
branch = "4";
homepage = "http://www.zeromq.org";