Skip to content

Commit c240213

Browse files
committed
fix(code-cli)
closes #11782
1 parent bad4fb8 commit c240213

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

projects/microsoft.com/code-cli/package.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,19 @@ dependencies:
1414
build:
1515
dependencies:
1616
rust-lang.org: ^1.81
17-
rust-lang.org/cargo: '*'
17+
rust-lang.org/cargo: "*"
1818
working-directory: cli
1919
script:
2020
# missed version bump
2121
- sed -i '1,10s/"version":.*/"version":"{{version}}",/' ../package.json
2222
- cargo install --locked --path . --root {{prefix}}
23+
- run: install_name_tool -change "@rpath/gnu.org/libiconv/v1/lib/libiconv.2.dylib" "/usr/lib/libiconv.2.dylib" code
24+
working-directory: ${{prefix}}/bin
25+
if: darwin
2326
env:
2427
OPENSSL_NO_VENDOR: 1
25-
OPENSSL_DIR: '{{deps.openssl.org.prefix}}'
26-
VSCODE_CLI_VERSION: '{{version}}'
28+
OPENSSL_DIR: "{{deps.openssl.org.prefix}}"
29+
VSCODE_CLI_VERSION: "{{version}}"
2730

2831
provides:
2932
- bin/code

0 commit comments

Comments
 (0)