Skip to content

Commit

Permalink
Update appbuilder.sh to fix two libraries
Browse files Browse the repository at this point in the history
Fixes libcrypto and libbrotlicommon path in macOS app bundle
  • Loading branch information
zpaolo11x committed Sep 18, 2023
1 parent 35d6468 commit 9a21231
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 9a21231

Please sign in to comment.