Imported Upstream version 1.2.0
[platform/upstream/iotivity.git] / service / things-manager / sampleapp / linux / configuration / SConscript
index f9ccdf9..36d95c9 100644 (file)
@@ -26,7 +26,7 @@ Import('env')
 
 # Add third party libraries
 lib_env = env.Clone()
-SConscript(env.get('SRC_DIR') + '/service/third_party_libs.scons', 'lib_env')
+SConscript('#service/third_party_libs.scons', 'lib_env')
 linux_sample_env = lib_env.Clone()
 
 ######################################################################
@@ -49,7 +49,7 @@ linux_sample_env.AppendUnique(LIBS = ['dl'])
 linux_sample_env.AppendUnique(LIBS = ['pthread'])
 
 if env.get('SECURED') == '1':
-    linux_sample_env.AppendUnique(LIBS = ['tinydtls'])
+       linux_sample_env.AppendUnique(LIBS = ['mbedtls', 'mbedx509', 'mbedcrypto'])
 
 # On some platforms link order can miss functions so librt needs to be
 # re-scanned at the end if present. gcc 4.6 is one with this issue.