build: Use global RPATH value 55/22355/6
authorPhilippe Coval <philippe.coval@osg.samsung.com>
Fri, 21 Jul 2017 11:52:38 +0000 (13:52 +0200)
committerMats Wichmann <mats@linux.com>
Thu, 28 Sep 2017 00:52:49 +0000 (00:52 +0000)
commit68680ed9eb3d22c48ba7997658493c8405245fc4
tree76d9f9980935877df581b50bbbf63944d2afb6c6
parent852bf2fd7e753395dc9c64b9649d800af4cca716
build: Use global RPATH value

Also introduce ORIGIN for crosscompiler.

RPATH can be convenient to avoid developer to deal with environment variables
(LD_LIBRARY_PATH or PATH on windows), as we're using them for now.

In longer term, this can be replaced by relative pathes,
once the installation process is fixed
(at least on systems supporting ORIGIN).

It was tested on yocto poky master.

Bug: https://jira.iotivity.org/browse/IOT-1745
Change-Id: Ibaabc31b8dc744267e4c6c1c682d2090da9ada96
Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
Origin: https://gerrit.iotivity.org/gerrit/#/c/21589/
25 files changed:
bridging/common/SConscript
bridging/mini_plugin_manager/SConscript
bridging/mpm_client/SConscript
bridging/plugins/hue_plugin/SConscript
bridging/plugins/lifx_plugin/SConscript
bridging/plugins/lyric_plugin/SConscript
bridging/plugins/nest_plugin/SConscript
build_common/SConscript
plugins/samples/linux/SConscript
plugins/src/SConscript
plugins/zigbee_wrapper/src/SConscript
resource/csdk/resource-directory/SConscript
resource/csdk/resource-directory/samples/SConscript
resource/csdk/resource-directory/unittests/SConscript
resource/csdk/security/provisioning/sample/SConscript
resource/csdk/security/tool/SConscript
resource/csdk/stack/SConscript
resource/csdk/stack/samples/linux/SimpleClientServer/SConscript
resource/provisioning/examples/SConscript
resource/src/SConscript
service/easy-setup/enrollee/SConscript
service/easy-setup/mediator/richsdk/SConscript
service/easy-setup/sampleapp/mediator/linux/richsdk_sample/SConscript
service/simulator/SConscript
service/simulator/ramlparser/SConscript