summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/czmq/czmq.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/czmq/czmq.mk b/package/czmq/czmq.mk
index d25bf01c63..9a127265e3 100644
--- a/package/czmq/czmq.mk
+++ b/package/czmq/czmq.mk
@@ -18,6 +18,10 @@ CZMQ_LICENSE_FILES = LICENSE
# host-python, so disable asciidoc entirely.
CZMQ_CONF_ENV = ac_cv_prog_czmq_have_asciidoc=no
+ifeq ($(BR2_PREFER_STATIC_LIB),y)
+CZMQ_CONF_OPTS += LIBS=-lstdc++
+endif
+
define CZMQ_CREATE_CONFIG_DIR
mkdir -p $(@D)/config
endef
OpenPOWER on IntegriCloud