package/zmqpp: link with libatomic when needed
PATCH 1/1 package/zmqpp: link with libatomic when needed
Fixes
http://autobuild.buildroot.net/results/c32/c32b9b8dd00d6f6d3db27fae9d8de758a4f25138/
Signed-off-by Bernd Kuhls <[email protected]>
--- package/zmqpp/zmqpp.mk | 4 ++++ 1 file changed, 4 insertions(+)
package/zmqpp/zmqpp.mk +4 -0
@@ -13,6 +13,10 @@ ZMQPP_LICENSE_FILES = LICENSE ZMQPP_MAKE_OPTS = LD="$(TARGET_CXX)" BUILD_PATH=./build PREFIX=/usr ZMQPP_LDFLAGS = $(TARGET_LDFLAGS) -lpthread +ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) +ZMQPP_LDFLAGS += -latomic +endif + ifeq ($(BR2_PACKAGE_ZMQPP_CLIENT),y) ZMQPP_DEPENDENCIES += boost endif
Signature · 1 line
2.11.0
PATCH 1/1 package/zmqpp: link with libatomic when needed
Hello,
Quoted 7 lines · Bernd Kuhls
Fixes
http://autobuild.buildroot.net/results/c32/c32b9b8dd00d6f6d3db27fae9d8de758a4f25138/Signed-off-by Bernd Kuhls <[email protected]>--- package/zmqpp/zmqpp.mk | 4 ++++ 1 file changed, 4 insertions(+)
I still hate this solution, but we don't have much choice, Boost build system is really unmanageable :/ So: applied to master. Thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com
PATCH 1/1 package/zmqpp: link with libatomic when needed
In reply to Bernd KuhlsQuoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Bernd" == Bernd Kuhls <[email protected]> writes:
Fixes
http://autobuild.buildroot.net/results/c32/c32b9b8dd00d6f6d3db27fae9d8de758a4f25138/Signed-off-by Bernd Kuhls <[email protected]>
Committed to 2017.02.x, thanks.
Signature · 1 line
Bye, Peter Korsgaard