rabbitmq-c: fix paths in pkg-config file
This commit is contained in:
parent
ce8e657451
commit
00b52816d8
1 changed files with 7 additions and 0 deletions
|
@ -14,6 +14,13 @@ stdenv.mkDerivation rec {
|
||||||
nativeBuildInputs = [ cmake ];
|
nativeBuildInputs = [ cmake ];
|
||||||
buildInputs = [ openssl popt xmlto ];
|
buildInputs = [ openssl popt xmlto ];
|
||||||
|
|
||||||
|
# https://github.com/alanxz/rabbitmq-c/issues/733
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace CMakeLists.txt \
|
||||||
|
--replace '\$'{exec_prefix}/'$'{CMAKE_INSTALL_LIBDIR} '$'{CMAKE_INSTALL_FULL_LIBDIR} \
|
||||||
|
--replace '\$'{prefix}/'$'{CMAKE_INSTALL_INCLUDEDIR} '$'{CMAKE_INSTALL_FULL_INCLUDEDIR}
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "RabbitMQ C AMQP client library";
|
description = "RabbitMQ C AMQP client library";
|
||||||
homepage = "https://github.com/alanxz/rabbitmq-c";
|
homepage = "https://github.com/alanxz/rabbitmq-c";
|
||||||
|
|
Loading…
Reference in a new issue