Skip to content

Commit

Permalink
Add support for osx arm64
Browse files Browse the repository at this point in the history
  • Loading branch information
kivutar committed Apr 3, 2022
1 parent 36f5ea5 commit 165a729
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ else ifneq ($(findstring MINGW,$(shell uname -s)),) # win
LDFLAGS += -L./lib -lglfw3dll -lOpenal32.dll -mwindows
OS ?= Windows
else ifneq ($(findstring Darwin,$(shell uname -s)),) # osx
LDFLAGS := -Ldeps/osx/lib -lglfw3 -framework Cocoa -framework OpenGL -framework IOKit
LDFLAGS := -Ldeps/osx_$(shell uname -m)/lib -lglfw3 -framework Cocoa -framework OpenGL -framework IOKit
LDFLAGS += -framework OpenAL
OS ?= OSX
else
Expand Down
File renamed without changes.
Binary file added deps/osx_arm64/lib/libglfw3.a
Binary file not shown.

0 comments on commit 165a729

Please sign in to comment.