openpowerlink: force static library build
authorRomain Naour <romain.naour@openwide.fr>
Fri, 24 Jan 2014 21:34:21 +0000 (22:34 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Sun, 26 Jan 2014 21:03:24 +0000 (22:03 +0100)
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 <romain.naour@openwide.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/openpowerlink/openpowerlink.mk

index 3a60478a0d9783ae993959e7fc4120cedfd3dcaa..37a06e52c6182095d7c12045a20d057d2872f239 100644 (file)
@@ -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