Merge pull request #269920 from wyndon/zeromq-cmake

zeromq: fix paths in pkg-config file
This commit is contained in:
Nikolay Korotkiy 2023-11-25 22:56:41 +04:00 committed by GitHub
commit 6119bd3054
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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";