Skip to content

Commit cbe09cd

Browse files
committed
Apple/Darwin linker fixes
1 parent 0ea4e8d commit cbe09cd

1 file changed

Lines changed: 3 additions & 7 deletions

File tree

Makefile.common

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -836,12 +836,6 @@ ifeq ($(HAVE_CORELOCATION), 1)
836836
LIBS += -framework CoreLocation
837837
endif
838838

839-
ifeq ($(HAVE_COCOA), 1)
840-
OBJ += ui/drivers/cocoa/cocoa_common.o
841-
OBJ += ui/drivers/cocoa/RetroArchPlaylistManager.o
842-
LIBS += -framework Cocoa -framework AppKit -framework Foundation
843-
endif
844-
845839
ifeq ($(HAVE_CORETEXT), 1)
846840
OBJ += gfx/drivers_font_renderer/coretext.o
847841
endif
@@ -2587,7 +2581,9 @@ ifeq ($(HAVE_COCOA_COMMON),1)
25872581
DEFINES += -DHAVE_MAIN -DOSX
25882582
OBJ += input/drivers/cocoa_input.o \
25892583
ui/drivers/ui_cocoa.o \
2590-
ui/drivers/cocoa/cocoa_common.o
2584+
ui/drivers/cocoa/cocoa_common.o \
2585+
ui/drivers/cocoa/RetroArchPlaylistManager.o
2586+
LIBS += -framework Cocoa -framework AppKit -framework Foundation
25912587

25922588
ifeq ($(HAVE_OPENGL), 1)
25932589
DEFINES += -DGL_SILENCE_DEPRECATION

0 commit comments

Comments
 (0)