diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2017-05-14 23:22:42 +0200 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2017-05-17 10:57:17 +0200 |
commit | beb6524225f12549a216183abc07745f8d36e764 (patch) | |
tree | cbc95c1cc4d38322be5ed00e90e01081f3c1fcae /package/python-enum34/python-enum34.mk | |
parent | 8ab8f10afaa7579c04d6705eb30c325409e599f9 (diff) | |
download | buildroot-beb6524225f12549a216183abc07745f8d36e764.tar.gz buildroot-beb6524225f12549a216183abc07745f8d36e764.zip |
rabbitmq-c: openssl/popt sub-options don't work in static linking
rabbitmq-c currently fails to build in a number of static linking
situations, due to two issues:
- CMake FindOpenSSL module is buggy. Even though it uses pkg-config,
it doesn't use the information returned by pkg-config, and
therefore doesn't know about second order libraries that need be
part of the link for static linking to succeed. Due to this, -lz is
not passed, and therefore rabbitmq-c fails when linking against
libssl/libcrypto. This issue has been reported to upstream CMake at
https://gitlab.kitware.com/cmake/cmake/issues/16885.
- popt might use libintl, but CMake doesn't know about that. For
autotools based packages, we typically work around this by passing
LIBS=, but CMake apparently has no equivalent to LIBS=.
To workaround this, we only use the OpenSSL and Popt optional
dependencies in dynamic linking situations.
Fixes:
http://autobuild.buildroot.net/results/798dbe5e5fd0463bb2066cb115656795144c327f/
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/python-enum34/python-enum34.mk')
0 files changed, 0 insertions, 0 deletions