soft-sensor-manager: libSSMCore.so: add missing depending library
authorHauke Mehrtens <hauke.mehrtens@lantiq.com>
Tue, 21 Jul 2015 20:29:14 +0000 (22:29 +0200)
committerUze Choi <uzchoi@samsung.com>
Fri, 24 Jul 2015 10:18:34 +0000 (10:18 +0000)
libSSMCore.so also depends on libdl.so, this patch adds these
dependencies to the build.

Without this the dynamic loader will not automatically load these
libraries and it could result in unresolved dependencies at runtime.

Change-Id: I76faff46fe96caef75fb6673c7e83d62b15b8489
Signed-off-by: Hauke Mehrtens <hauke.mehrtens@lantiq.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/1796
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
service/soft-sensor-manager/SConscript

index dd01845..3bbd07a 100644 (file)
@@ -160,7 +160,7 @@ static_libssmcore = ssmcore_env.StaticLibrary(
 
 ssmcore_env.AppendUnique(LIBPATH = [env.get('BUILD_DIR')])
 ssmcore_env.AppendUnique(LIBS = ['oc', 'octbstack', 'oc_logger',
-            'connectivity_abstraction', 'coap'])
+            'connectivity_abstraction', 'coap', 'dl'])
 
 shared_libssmcore = ssmcore_env.SharedLibrary(
                target = 'SSMCore',