Codesign static libraries

This commit is contained in:
Wojtek Mach 2023-05-05 11:06:18 +02:00
parent 15e2b0cd65
commit 5ae46ff151
2 changed files with 2 additions and 1 deletions

View file

@ -11,6 +11,7 @@ password="${ELIXIRKIT_NOTARY_PASSWORD:-}"
if [ -n "$identity" ]; then
files=`find $app_dir -perm +111 -type f -exec sh -c "file {} | grep --silent Mach-O" \; -print`
files="$files `find $app_dir -name '*.a'`"
files="$files $app_dir/Contents/MacOS/$app_name"
codesign --sign="$identity" --options=runtime --entitlements=App.entitlements --force --timestamp --verbose=2 $files
else