Skip to content
Snippets Groups Projects
Commit 9732c403 authored by Joe Donofry's avatar Joe Donofry
Browse files

Copy icu4c dylib symlinks in mac deploy

parent d72e3626
No related branches found
No related tags found
No related merge requests found
......@@ -6,11 +6,6 @@ if [ "$TRAVIS_OS_NAME" == "osx" ]; then
brew update
brew install qt5 lmdb clang-format ninja libsodium cmark
brew upgrade boost cmake icu4c || true
# make sure that ICU executables are added to the PATH
# and that the shared objects files can be found by the linker
export PATH="$(brew --prefix icu4c)/bin:$PATH"
export DYLD_FALLBACK_LIBRARY_PATH="$(brew --prefix icu4c)/lib:$DYLD_FALLBACK_LIBRARY_PATH"
export PKG_CONFIG_PATH="$(brew --prefix icu4c)/lib/pkgconfig:$PKG_CONFIG_PATH"
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
sudo python get-pip.py
......
......@@ -9,6 +9,12 @@ PATH=/usr/local/opt/qt/bin/:${PATH}
pushd build
sudo macdeployqt nheko.app -dmg
# macdeployqt does not copy symlinks over.
# this specifically addresses icu4c issues but nothing else.
export ICU_LIB="$(brew --prefix icu4c)/lib"
find ${ICU_LIB} -type l -name "*.dylib" -exec cp {} nheko.app/Contents/Frameworks/ \; || true
user=$(id -nu)
sudo chown ${user} nheko.dmg
mv nheko.dmg ..
......
......@@ -18,7 +18,7 @@ matrix:
osx_image: xcode9
env:
- DEPLOYMENT=1
- USE_BUNDLED_BOOST=1
- USE_BUNDLED_BOOST=0
- USE_BUNDLED_CMARK=0
- os: linux
compiler: gcc
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment