summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/lensfun/lensfun.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/package/lensfun/lensfun.mk b/package/lensfun/lensfun.mk
index 8e92e59fda..fa002c77f3 100644
--- a/package/lensfun/lensfun.mk
+++ b/package/lensfun/lensfun.mk
@@ -34,6 +34,12 @@ else
LENSFUN_CONF_OPTS += -DBUILD_LENSTOOL=OFF
endif
+ifeq ($(BR2_STATIC_LIBS),y)
+LENSFUN_CONF_OPTS += -DBUILD_STATIC=ON
+else
+LENSFUN_CONF_OPTS += -DBUILD_STATIC=OFF
+endif
+
# Don't install helper scripts (which require python3 and gksudo).
# Don't run setup.py on the host.
LENSFUN_CONF_OPTS += -DINSTALL_HELPER_SCRIPTS=OFF -DPYTHON=OFF
OpenPOWER on IntegriCloud