Update vendor/cgltf/src/Makefile

missing darwin folder

Co-authored-by: Laytan <laytanlaats@hotmail.com>
This commit is contained in:
Pariatech
2024-03-13 07:37:42 -04:00
committed by GitHub
parent 89404147f6
commit b539bb2693

View File

@@ -13,7 +13,7 @@ unix:
rm *.o
darwin:
mkdir -p ../lib
mkdir -p ../lib/darwin
$(CC) -arch x86_64 -c -O2 -Os -fPIC cgltf.c -o cgltf-x86_64.o -mmacosx-version-min=10.12
$(CC) -arch arm64 -c -O2 -Os -fPIC cgltf.c -o cgltf-arm64.o -mmacosx-version-min=10.12
lipo -create cgltf-x86_64.o cgltf-arm64.o -output ../lib/darwin/cgltf.a