From: Romain Naour Date: Fri, 24 Jan 2014 21:34:21 +0000 (+0100) Subject: openpowerlink: force static library build X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a74767181387b168f6370899af964a1678b0a8cf;p=buildroot.git openpowerlink: force static library build There is no shared lib in openpowerlink, so force static lib to build libpowerlink.a Fixes: http://autobuild.buildroot.net/results/b33/b33008d260c95bedc52bed48f191f76843612ef9/build-end.log http://autobuild.buildroot.net/results/c46/c464bdfb8edaaf69d49ade92ef9cc6f45cc73362/build-end.log Signed-off-by: Romain Naour Signed-off-by: Peter Korsgaard --- diff --git a/package/openpowerlink/openpowerlink.mk b/package/openpowerlink/openpowerlink.mk index 3a60478a0d..37a06e52c6 100644 --- a/package/openpowerlink/openpowerlink.mk +++ b/package/openpowerlink/openpowerlink.mk @@ -22,6 +22,10 @@ endif OPENPOWERLINK_CONF_OPT = -DCMAKE_SYSTEM_PROCESSOR=$(OPENPOWERLINK_ARCH) +# There is no shared lib in openpowerlink, +# so force static lib to build libpowerlink.a +OPENPOWERLINK_CONF_OPT += -DBUILD_SHARED_LIBS=OFF + ifeq ($(BR2_ENABLE_DEBUG),y) OPENPOWERLINK_CONF_OPT += -DCMAKE_BUILD_TYPE=Debug else