From f9fd3783702814e9e99048ca2ca94b5bc7497f00 Mon Sep 17 00:00:00 2001 From: Francis ANDRE Date: Mon, 24 Sep 2018 09:38:59 +0200 Subject: [PATCH] Remove def File openSSL64LinuxLibFile = new File("$openSSL64LinuxLib") --- build.gradle | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/build.gradle b/build.gradle index 99da2393f..115ad8120 100644 --- a/build.gradle +++ b/build.gradle @@ -426,12 +426,11 @@ subprojects { sharedLibraryFile = new File("$openSSLBrewHome/lib/$dllName") sharedLibraryLinkFile = new File("$openSSLBrewHome/lib/$linkName") } else if (targetPlatform.operatingSystem.linux) { - def File openSSL64LinuxLibFile = new File("$openSSL64LinuxLib") headers.srcDir "$openSSL64LinuxInc/include" dllName = "libssl.so" linkName = "libssl.a" - sharedLibraryFile = new File(openSSL64LinuxLibFile, dllName) - sharedLibraryLinkFile = new File(openSSL64LinuxLibFile, linkName) + sharedLibraryFile = new File("$openSSL64LinuxLib", dllName) + sharedLibraryLinkFile = new File("$openSSL64LinuxLib", linkName) } } else if (buildType == buildTypes.release) { if (targetPlatform.name == 'win32') {