Combine arm64 and x86_64 libomp libraries

pull/1001/head
Koen Schmeets 2021-04-04 20:24:22 +02:00 committed by phkahler
parent b8e41c8da9
commit a01dd18495
1 changed files with 7 additions and 0 deletions

View File

@ -1,5 +1,12 @@
#!/bin/bash -xe
lipo \
-create \
build/bin/SolveSpace.app/Contents/Resources/libomp.dylib \
build-arm64/bin/SolveSpace.app/Contents/Resources/libomp.dylib \
-output \
build/bin/SolveSpace.app/Contents/Resources/libomp.dylib
lipo \
-create \
build/bin/SolveSpace.app/Contents/MacOS/SolveSpace \