From 348dc503ab4eaab2bbf8ef1a6b05cbb9b276e011 Mon Sep 17 00:00:00 2001 From: Paolo Zago Date: Mon, 18 Sep 2023 07:00:05 +0200 Subject: [PATCH] [MacOS] Update app bundle script to fix 2 additional libraries - Fix libcrypto and libbrotlicommon path in macOS app bundle --- util/osx/appbuilder.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/util/osx/appbuilder.sh b/util/osx/appbuilder.sh index 0c1ff9dd..fdfb7be5 100644 --- a/util/osx/appbuilder.sh +++ b/util/osx/appbuilder.sh @@ -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")