mbedtls: Install Static libs 79/24879/3
authorPhilippe Coval <philippe.coval@osg.samsung.com>
Tue, 24 Apr 2018 09:16:30 +0000 (11:16 +0200)
committerPhil Coval <philippe.coval@osg.samsung.com>
Mon, 7 May 2018 20:10:03 +0000 (20:10 +0000)
Change-Id: Ia69fc0a9d7b0624a13c7d3ef2ba6a0e921ea4ba3
Bug: https://jira.iotivity.org/browse/IOT-3027
Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
(cherry picked from commit cca779a39cc587460d2793f58897a277f0e93e00)

extlibs/mbedtls/SConscript

index b9ec6cf..74b5065 100644 (file)
@@ -220,12 +220,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')