Hi!

While trying to run code (node bindings for iotivity) that's linked to
liboctbstack.so after building it from master using scons liboctbstack
on Fedora 20 x86_64, I found that the symbol CAInitialize is
undefined. So, I had to modify SConstruct to not only add
libconnectivity_abstraction on android, but also on Linux.

I'm sorry I can't paste the one-liner patch inline. It's because GMail
squashes the tab characters into two spaces. So, I attached it.

Could you please add libconnectivity_abstraction to liboctbstack.so on
linux as well as android?

TIA for your help,



Gabriel
-------------- next part --------------
diff --git a/resource/csdk/SConscript b/resource/csdk/SConscript
index 931b184..427668d 100644
--- a/resource/csdk/SConscript
+++ b/resource/csdk/SConscript
@@ -71,7 +71,7 @@ if target_os == 'arduino':
        liboctbstack_env.AppendUnique(CPPDEFINES = ['NDEBUG', 'WITH_ARDUINO'])
 elif target_os not in ['darwin','ios']:
        liboctbstack_env.AppendUnique(CFLAGS = ['-fPIC'])
-if target_os == 'android':     
+if target_os in ['android', 'linux' ]:
        liboctbstack_env.AppendUnique(LIBS = ['connectivity_abstraction'])
 if target_os in ['darwin', 'ios']:
        liboctbstack_env.AppendUnique(CPPDEFINES = ['_DARWIN_C_SOURCE'])

Reply via email to