Merge pull request #1051 from pulsar-edit/vendorize-libiconv

Fix macOS binaries by vendorizing `libiconv`
This commit is contained in:
Andrew Dupont 2024-07-06 22:11:12 -05:00 committed by GitHub
commit 3c93cf0b1c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 6 additions and 10 deletions

View File

@ -137,7 +137,6 @@ silicon_mac_task:
- brew update
- brew uninstall node@20
- brew install git python@$PYTHON_VERSION python-setuptools
- brew install libiconv
- git submodule init
- git submodule update
- ln -s /opt/homebrew/bin/python$PYTHON_VERSION /opt/homebrew/bin/python
@ -151,13 +150,9 @@ silicon_mac_task:
- sed -i -e "s/[0-9]*-dev/`date -u +%Y%m%d%H`/g" package.json
install_script:
- export PATH="/opt/homebrew/bin:$PATH"
- export LDFLAGS="-L$(brew --prefix)/opt/libiconv/lib"
- export CPPFLAGS="-I$(brew --prefix)/opt/libiconv/include"
- yarn install --ignore-engines || yarn install --ignore-engines
build_script:
- export PATH="/opt/homebrew/bin:$PATH"
- export LDFLAGS="-L$(brew --prefix)/opt/libiconv/lib"
- export CPPFLAGS="-I$(brew --prefix)/opt/libiconv/include"
- yarn build
- yarn run build:apm
build_binary_script:

View File

@ -25,7 +25,9 @@
"license": "MIT",
"electronVersion": "12.2.3",
"resolutions": {
"es5-ext": "https://github.com/pulsar-edit/es5-ext#169f6ae9b2675675269a0ba265f83c29c7b56244"
"es5-ext": "https://github.com/pulsar-edit/es5-ext#169f6ae9b2675675269a0ba265f83c29c7b56244",
"superstring": "github:pulsar-edit/superstring#de97b496663fce40050bf2d66e1466ccfbd00943",
"text-buffer/superstring": "github:pulsar-edit/superstring#de97b496663fce40050bf2d66e1466ccfbd00943"
},
"dependencies": {
"@atom/source-map-support": "^0.3.4",
@ -165,7 +167,7 @@
"spell-check": "file:packages/spell-check",
"status-bar": "file:packages/status-bar",
"styleguide": "file:./packages/styleguide",
"superstring": "^2.4.4",
"superstring": "github:pulsar-edit/superstring#de97b496663fce40050bf2d66e1466ccfbd00943",
"symbol-provider-ctags": "file:./packages/symbol-provider-ctags",
"symbol-provider-tree-sitter": "file:./packages/symbol-provider-tree-sitter",
"symbols-view": "file:./packages/symbols-view",

View File

@ -9027,10 +9027,9 @@ superagent@^8.0.9:
qs "^6.11.0"
semver "^7.3.8"
superstring@^2.4.4:
superstring@^2.4.4, "superstring@github:pulsar-edit/superstring#de97b496663fce40050bf2d66e1466ccfbd00943":
version "2.4.4"
resolved "https://registry.yarnpkg.com/superstring/-/superstring-2.4.4.tgz#d5df5b080deb5605ffd88b6cdbaf17a0b30d5f0e"
integrity sha512-41LWIGzy6tkUM6jUwbXTeGOLui3gGBxgV6m8gIWRzv1WdW0HV6oANHdGanRrM04mwFXXExII9OQ/XxaqU+Ft9w==
resolved "https://codeload.github.com/pulsar-edit/superstring/tar.gz/de97b496663fce40050bf2d66e1466ccfbd00943"
dependencies:
nan "^2.14.2"