Skip to contentSkip to conversation

openpowerlink: force static library build

PATCH New Romain Naour 2 participants 2 messages Jan 24, 2014 – Jan 26, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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

---
 package/openpowerlink/openpowerlink.mk | 4 ++++
 1 file changed, 4 insertions(+)
package/openpowerlink/openpowerlink.mk +4 -0
index 3a60478..0800a05 100644
@@ -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
Signature · 1 line
1.8.5.3
#1 lore raw

PATCH 1/1 openpowerlink: force static library build

Quoted 10 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Romain" == Romain Naour <[email protected]> writes:

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

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard