diff options
author | sourav bhuwalka <s.bhuwalka@samsung.com> | 2020-06-09 17:32:43 +0530 |
---|---|---|
committer | Sudipto <sudipto.bal@samsung.com> | 2020-06-19 22:45:04 +0530 |
commit | 15d74a425caf37a9543a8721759b1210bb9fb2a2 (patch) | |
tree | 252881ba5abd8838acc9bd8f7140a1738c0b4a07 | |
parent | 1fa7e7fb1d9e4e68c877af85d22cf97ad5d67723 (diff) | |
download | iotivity-15d74a425caf37a9543a8721759b1210bb9fb2a2.tar.gz iotivity-15d74a425caf37a9543a8721759b1210bb9fb2a2.tar.bz2 iotivity-15d74a425caf37a9543a8721759b1210bb9fb2a2.zip |
Fix build error for tizen in secured mode for TARGET_TRANSPORT = ALL
Adding pthread libs in the Sconscript where it was missing
https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/pull/711
(cherry-picked from 0ee5e7151d1438559e642818a2b7cee5704aefd4)
Change-Id: I8fe8993965016026e3d3b672696a638c67b32c39
Signed-off-by: sourav bhuwalka <s.bhuwalka@samsung.com>
Signed-off-by: Sudipto <sudipto.bal@samsung.com>
-rw-r--r-- | resource/csdk/security/tool/SConscript | 3 | ||||
-rw-r--r-- | resource/provisioning/SConscript | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/resource/csdk/security/tool/SConscript b/resource/csdk/security/tool/SConscript index 6aee4b54e..5471c7553 100644 --- a/resource/csdk/security/tool/SConscript +++ b/resource/csdk/security/tool/SConscript @@ -54,6 +54,9 @@ tools_env.AppendUnique(RPATH = [tools_env.get('BUILD_DIR')]) tools_env.AppendUnique(LIBPATH = [tools_env.get('BUILD_DIR')]) tools_env.PrependUnique(LIBS = ['oc', 'octbstack', 'mbedtls', 'mbedx509', 'mbedcrypto']) +if target_os in ['tizen']: + tools_env.AppendUnique(LIBS = ['pthread']) + if tools_env.get('MULTIPLE_OWNER') == '1': tools_env.AppendUnique(CPPDEFINES=['MULTIPLE_OWNER']) diff --git a/resource/provisioning/SConscript b/resource/provisioning/SConscript index 25d067c1a..e3bb396f7 100644 --- a/resource/provisioning/SConscript +++ b/resource/provisioning/SConscript @@ -71,6 +71,9 @@ if target_os in ['darwin', 'ios']: ocprovision_env.AppendUnique(LIBPATH = [ocprovision_env.get('BUILD_DIR')]) ocprovision_env.AppendUnique(LIBS = ['octbstack', 'oc_logger']) +if target_os in ['tizen']: + ocprovision_env.AppendUnique(LIBS = ['pthread']) + ###################################################################### # Source files and Targets ###################################################################### |