aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Romain Naour <romain.naour@gmail.com>2017-03-31 23:32:49 +0200
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-04-01 13:56:32 +0200
commita1efe5a151a9dbaf784ed805f0e3973c903195b4 (patch)
treed857c57147e97dd5699025de045637bc536531d3
parent902bb3a4d7cf1dd1d4ff5d54719da672dea8681a (diff)
downloadbuildroot-a1efe5a151a9dbaf784ed805f0e3973c903195b4.tar.gz
buildroot-a1efe5a151a9dbaf784ed805f0e3973c903195b4.tar.bz2
package/lensfun: fix static only build
Build lensfun.a for static only build. Fixes: http://autobuild.buildroot.net/results/63e/63e7700a242c7c28ede0fe0b6a63db288e73e974/build-end.log Signed-off-by: Romain Naour <romain.naour@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-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