Skip to content

Commit

Permalink
[MacOS] Update app bundle script to fix 2 additional libraries
Browse files Browse the repository at this point in the history
- Fix libcrypto and libbrotlicommon path in macOS app bundle
  • Loading branch information
zpaolo11x authored and oomek committed Sep 18, 2023
1 parent 35d6468 commit 348dc50
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions util/osx/appbuilder.sh
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,16 @@ checklib="${checklib:2}"
fr_lib+=("@loader_path/libavutil")
to_lib+=("$checklib/libavutil")

checklib=$(pkg-config --libs-only-L libcrypto)
checklib="${checklib:2}"
fr_lib+=("@loader_path/libcrypto")
to_lib+=("$checklib/libcrypto")

checklib=$(pkg-config --libs-only-L libbrotlicommon)
checklib="${checklib:2}"
fr_lib+=("@loader_path/libbrotlicommon")
to_lib+=("$checklib/libbrotlicommon")

#fr_lib+=("@rpath/libsharpyuv")
#to_lib+=("/usr/local/opt/webp/lib/libsharpyuv")

Expand Down

0 comments on commit 348dc50

Please sign in to comment.