Skip to content

Commit ffcf7cc

Browse files
committed
fixed:mac arm64 build error
1 parent 9745871 commit ffcf7cc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

XEngine_Module/XEngine_AVPlayer/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ else ifeq ($(PLATFORM),mac)
3838
CC += -Wno-deprecated-declarations
3939
PLATVER = -D __MACOS__
4040
FILEEXT = dylib
41+
LOADHDR += -I /opt/homebrew/opt/sdl2/include
42+
LOADSO += -L /opt/homebrew/opt/sdl2/lib
4143
LIBFLAG = -dynamiclib
4244
LIBEX = -lSDL2 -lpthread -ldl
4345
LOADBIN = -Wl,-rpath,@loader_path/../XEngine_BaseLib/

0 commit comments

Comments
 (0)