Skip to content

Commit 983f61f

Browse files
committed
Add code signing instructions for libs
1 parent f78e784 commit 983f61f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ddnet-lib-update.sh

+3
Original file line numberDiff line numberDiff line change
@@ -531,3 +531,6 @@ cp .libs/libpng16.16.dylib ..
531531
# create fat binaries for mac
532532
mkdir libfat; for i in lib64/*.dylib; do lipo -create $i libarm64/${i:t} -output libfat/${i:t}; done
533533
mkdir libfat; for i in lib64/*.a; do lipo -create $i libarm64/${i:t} -output libfat/${i:t}; done
534+
535+
# sign all arm64 and fat dylibs using codesign on macOS (until https://github.com/thefloweringash/sigtool/issues/8 is fixed, then we can automate it on Linux)
536+
for i in **/libarm64/*.dylib **/libfat/*.dylib mac/libarm64/SDL2.framework mac/libfat/SDL2.framework; do codesign -s - $i; done

0 commit comments

Comments
 (0)