package/libcpprestsdk: fix static build with boost 1.70.0
PATCH 1/1 package/libcpprestsdk: fix static build with boost 1.70.0
Fixes:
- http://autobuild.buildroot.org/results/36ef83aefd24bcc6bbf58812aa07aa0f6072cd09
Signed-off-by Fabrice Fontaine <[email protected]>
--- package/libcpprestsdk/libcpprestsdk.mk | 6 ++++++ 1 file changed, 6 insertions(+)
package/libcpprestsdk/libcpprestsdk.mk +6 -0
@@ -12,6 +12,12 @@ LIBCPPRESTSDK_SUBDIR = Release LIBCPPRESTSDK_DEPENDENCIES += host-pkgconf boost openssl zlib LIBCPPRESTSDK_CONF_OPTS = -DWERROR=OFF -DBUILD_SAMPLES=OFF +ifeq ($(BR2_STATIC_LIBS),y) +LIBCPPRESTSDK_CONF_OPTS += \ + -DBoost_USE_STATIC_LIBS=ON \ + -DBoost_USE_STATIC_RUNTIME=ON +endif + ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) LIBCPPRESTSDK_CONF_OPTS += -DCMAKE_CXX_FLAGS="$(TARGET_CXXFLAGS) -latomic" endif
Signature · 1 line
2.20.1
Thomas Petazzoni
AppliedPATCH 1/1 package/libcpprestsdk: fix static build with boost 1.70.0
Quoted 7 lines · On Wed, 17 Apr 2019 23:00:50 +0200 Fabrice Fontaine…
Fixes:
- http://autobuild.buildroot.org/results/36ef83aefd24bcc6bbf58812aa07aa0f6072cd09Signed-off-by Fabrice Fontaine <[email protected]>--- package/libcpprestsdk/libcpprestsdk.mk | 6 ++++++ 1 file changed, 6 insertions(+)
Applied to master, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com