summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/make/make.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/package/make/make.mk b/package/make/make.mk
index 20469ba3df..d643fb0004 100644
--- a/package/make/make.mk
+++ b/package/make/make.mk
@@ -11,4 +11,9 @@ MAKE_DEPENDENCIES = $(if $(BR2_NEEDS_GETTEXT_IF_LOCALE),gettext)
MAKE_LICENSE = GPLv3+
MAKE_LICENSE_FILES = COPYING
+# Disable the 'load' operation for static builds since it needs dlopen
+ifeq ($(BR2_STATIC_LIBS),y)
+ MAKE_CONF_OPTS += --disable-load
+endif
+
$(eval $(autotools-package))
OpenPOWER on IntegriCloud