Skip to content

Commit b872122

Browse files
author
Steve Lee (POWERSHELL HE/HIM) (from Dev Box)
committed
set openssl lib dir for arm64
1 parent 582fa52 commit b872122

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.pipelines/DSC-Official.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -272,6 +272,9 @@ extends:
272272
- pwsh: |
273273
apt update
274274
apt -y install gcc-aarch64-linux-gnu
275+
if ((openssl version -d) -match 'OPENSSLDIR: "(?<dir>.*?)"') {
276+
$env:OPENSSL_LIB_DIR = $matches['dir']
277+
}
275278
./build.ps1 -Release -Architecture aarch64-unknown-linux-gnu
276279
./build.ps1 -PackageType tgz -Architecture aarch64-unknown-linux-gnu -Release
277280
Copy-Item ./bin/*.tar.gz "$(ob_outputDirectory)"
@@ -336,6 +339,9 @@ extends:
336339
apt -y install libssl-dev
337340
apt -y install pkg-config
338341
rustup default stable-aarch64-unknown-linux-musl
342+
if ((openssl version -d) -match 'OPENSSLDIR: "(?<dir>.*?)"') {
343+
$env:OPENSSL_LIB_DIR = $matches['dir']
344+
}
339345
./build.ps1 -Release -Architecture aarch64-unknown-linux-musl
340346
./build.ps1 -PackageType tgz -Architecture aarch64-unknown-linux-musl -Release
341347
Copy-Item ./bin/*.tar.gz "$(ob_outputDirectory)"

0 commit comments

Comments
 (0)