mbedtls: Install Static libs 89/24889/2
authorPhilippe Coval <philippe.coval@osg.samsung.com>
Tue, 24 Apr 2018 09:16:30 +0000 (11:16 +0200)
committerMats Wichmann <mats@linux.com>
Mon, 30 Apr 2018 16:18:15 +0000 (16:18 +0000)
Change-Id: Ia69fc0a9d7b0624a13c7d3ef2ba6a0e921ea4ba3
Bug: https://jira.iotivity.org/browse/IOT-3027
Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
extlibs/mbedtls/SConscript

index 846ea05..8b7b30a 100644 (file)
@@ -221,12 +221,15 @@ mbeX509_src = [
 mbedcrypto_env = mbedtls_env.Clone()
 static_libmbedcrypto = mbedcrypto_env.StaticLibrary('mbedcrypto', mbedcrypto_src)
 mbedcrypto_env.InstallTarget(static_libmbedcrypto, 'mbedcrypto')
+mbedcrypto_env.UserInstallTargetLib(static_libmbedcrypto, 'mbedcrypto')
 
 mbex509_env = mbedtls_env.Clone()
 mbex509_env.AppendUnique(LIBS=['mbedcrypto'])
 static_libmbedx509 = mbex509_env.StaticLibrary('mbedx509', mbeX509_src)
 mbex509_env.InstallTarget(static_libmbedx509, 'mbedx509')
+mbex509_env.UserInstallTargetLib(static_libmbedx509, 'mbedx509')
 
 mbedtls_env.AppendUnique(LIBS=['mbedx509', 'mbedcrypto'])
 static_libmbedtls = mbedtls_env.StaticLibrary('mbedtls', mbedtls_src)
 mbedtls_env.InstallTarget(static_libmbedtls, 'mbedtls')
+mbedtls_env.UserInstallTargetLib(static_libmbedtls, 'mbedtls')