Skip to content

Commit 5ef6678

Browse files
authored
Fix linker error when building with sdl2 on macOS (#192)
1 parent df8f5a9 commit 5ef6678

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ LFLAGS += $(CROSS_LFLAGS) -s
333333
else
334334
LFLAGS += $(shell $(SDL_LIB)-config --libs) -s
335335
endif
336-
LFLAGS += -lm -Wl,-framework,OpenGL
336+
LFLAGS += -lm -Wl,-framework,OpenGL -Wl,-framework,Cocoa
337337
TARGET = $(TARGET_NAME)
338338
FILEREQ_OBJ =
339339
MSGBOX_OBJ =

0 commit comments

Comments
 (0)