notification: Reordering libs for linker on examples and tests
authorPhilippe Coval <philippe.coval@osg.samsung.com>
Tue, 28 Feb 2017 13:20:17 +0000 (14:20 +0100)
committerUze Choi <uzchoi@samsung.com>
Thu, 23 Mar 2017 00:07:21 +0000 (00:07 +0000)
commit1a0439cf7c0a7992d907f528d7127a974f002774
treebd6f6d31e3965c15af37038918fe60423711baea
parent3ac52ad622c83aadd7a02c798e31bbc3d5fae0bb
notification: Reordering libs for linker on examples and tests

Reordering libs by dependencies is solving observed issue on yocto:

  ld: warning: liboc.so, \
  needed by out/yocto/i586/release/libresource_directory.so, not found \
  (try using -rpath or -rpath-link)
  libresource_directory.so: \
  undefined reference to `OC::MessageContainer::representations() const'
  (...)

Bug: https://jira.iotivity.org/browse/IOT-1745
Change-Id: I8622e0efbdad18236cb04fb14f8d01bcef7b8879
Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/17563
Tested-by: jenkins-iotivity <jenkins@iotivity.org>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
service/notification/cpp-wrapper/examples/linux/SConscript
service/notification/examples/linux/SConscript
service/notification/unittest/SConscript