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

@ -23,7 +23,7 @@ main() {
bootstrap_otp() {
dir=$PWD
cd elixirkit/otp_bootstrap
. ./build_macos_universal.sh $OTP_VERSION "1.1.1s"
. ./build_macos_universal.sh $OTP_VERSION "1.1.1s"
cd $dir
}

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