From 560e72770567447e238c34af6b2405dc2053c619 Mon Sep 17 00:00:00 2001 From: Francis ANDRE Date: Wed, 26 Sep 2018 13:04:00 +0200 Subject: [PATCH] Use shared object for linking SharedLibrary --- build.gradle | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/build.gradle b/build.gradle index cf0c562ba..1f87665e0 100644 --- a/build.gradle +++ b/build.gradle @@ -329,7 +329,7 @@ subprojects { } else if (targetPlatform.operatingSystem.linux) { headers.srcDir new File("$openSSL64LinuxInc/include") dllName = 'libcrypto.so' - linkName = 'libcrypto.a' + linkName = 'libcrypto.so' sharedLibraryFile new File("$openSSL64LinuxLib/$dllName") sharedLibraryLinkFile new File("$openSSL64LinuxLib/$linkName") } @@ -354,7 +354,7 @@ subprojects { } else if (targetPlatform.operatingSystem.linux) { headers.srcDir new File("$openSSL64LinuxInc/include") dllName = 'libcrypto.so' - linkName = 'libcrypto.a' + linkName = 'libcrypto.so' sharedLibraryFile new File("$openSSL64LinuxLib/$dllName") sharedLibraryLinkFile new File("$openSSL64LinuxLib/$linkName") } @@ -428,7 +428,7 @@ subprojects { } else if (targetPlatform.operatingSystem.linux) { headers.srcDir new File("$openSSL64LinuxInc/include") dllName = "libssl.so" - linkName = "libssl.a" + linkName = "libssl.so" sharedLibraryFile new File("$openSSL64LinuxLib", dllName) sharedLibraryLinkFile new File("$openSSL64LinuxLib", linkName) } @@ -452,7 +452,7 @@ subprojects { } else if (targetPlatform.operatingSystem.linux) { headers.srcDir new File("$openSSL64LinuxInc/include") dllName = 'libssl.so' - linkName = 'libssl.a' + linkName = 'libssl.so' sharedLibraryFile new File("$openSSL64LinuxLib/$dllName") sharedLibraryLinkFile = new File("$openSSL64LinuxLib/$linkName") }