Skip to contentSkip to conversation

protobuf-native: Enable shared libs

PATCH Bruce Ashfield 1 participant 1 message Mar 21, 2017 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

Thanks.

Everything passed my runtime tests, so I've pushed master-next -> master.

Bruce

Quoted 28 lines · Khem Raj

protobuf-c needs shared libraries, linking with static libs ends up with undefined symbols

---
 recipes-devtools/protobuf/protobuf-native_3.1.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-devtools/protobuf/protobuf-native_3.1.0.bb +0 -0
index 47fb401..91ab0b3 100644
@@ -15,7 +15,7 @@ SRC_URI[sha256sum] = "0a0ae63cbffc274efb573bdde9a253

e3f32e458c41261df51c5dbc5ad5
SRC_URI = "https://github.com/google/protobuf/archive/v3.1.0.tar.

gz;downloadfilename=protobuf-3.1.0.tar.gz \
        "
recipes-devtools/protobuf/protobuf-native_3.1.0.bb +1 -2
-EXTRA_OECONF += " --with-protoc=echo --disable-shared"
+EXTRA_OECONF += " --with-protoc=echo"
 
 inherit native autotools
 
--

2.12.0

Signature · 2 lines
"Thou shalt not follow the NULL pointer, for chaos and madness await thee
at its end"