Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to UWP compatible OpenSSL build. #24257

Merged
merged 1 commit into from Oct 2, 2019
Merged
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

Update to UWP compatible OpenSSL build.

  • Loading branch information
jdm committed Oct 2, 2019
commit 96302bad91887a030f54a9e233dabac60499679c
@@ -234,7 +234,7 @@ def build(self, release=False, dev=False, jobs=None, params=None,
check_call(["rustup" + BIN_SUFFIX, "target", "add",
"--toolchain", self.toolchain(), target])

env = self.build_env(target=target, is_build=True)
env = self.build_env(target=target, is_build=True, uwp=uwp)
self.ensure_bootstrapped(target=target)
self.ensure_clobbered()

@@ -614,7 +614,7 @@ def vs_dirs(self):
'vcdir': vcinstalldir,
}

def build_env(self, hosts_file_path=None, target=None, is_build=False, test_unit=False):
def build_env(self, hosts_file_path=None, target=None, is_build=False, test_unit=False, uwp=False):
"""Return an extended environment dictionary."""
env = os.environ.copy()
if sys.platform == "win32" and type(env['PATH']) == unicode:
@@ -639,6 +639,9 @@ def build_env(self, hosts_file_path=None, target=None, is_build=False, test_unit
"i686": "x86-windows",
"aarch64": "arm64-windows",
}
target_arch = vcpkg_arch[arch]
if uwp:
target_arch += "-uwp"
openssl_base_dir = path.join(self.msvc_package_dir("openssl"), vcpkg_arch[arch])

# Link openssl
@@ -8,7 +8,7 @@
"moztools": "3.2",
"ninja": "1.7.1",
"nuget": "08-08-2019",
"openssl": "111.3.0+1.1.1c-vs2017",
"openssl": "111.3.0+1.1.1c-vs2017-2019-09-18",
"gstreamer-uwp": "1.16.0.5",
"openxr-loader-uwp": "1.0",
}
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.