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>
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'])
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
######################################################################