Some buildfixes for compiling macOS with plain make

This commit is contained in:
libretroadmin 2023-02-23 17:44:23 +01:00
parent 27ad653dbd
commit 5e05f76e78

View File

@ -1343,11 +1343,10 @@ ifeq ($(HAVE_LIBUSB), 1)
endif
ifeq ($(HAVE_IOHIDMANAGER), 1)
ifeq ($(HAVE_HID), 1)
DEFINES += -DHAVE_IOHIDMANAGER
OBJ += input/drivers_hid/iohidmanager_hid.o
LIBS += -framework IOKit
endif
HAVE_HID=1
DEFINES += -DHAVE_IOHIDMANAGER
OBJ += input/drivers_hid/iohidmanager_hid.o
LIBS += -framework IOKit
endif
ifeq ($(HAVE_HID), 1)
@ -1364,8 +1363,8 @@ ifeq ($(HAVE_HID), 1)
input/connect/connect_nesusb.o \
input/connect/connect_snesusb.o \
input/connect/connect_wiiupro.o \
input/connect/connect_kade.o \
input/connect/connect_zerodelay_dragonrise.o \
input/connect/connect_kade.o \
input/connect/connect_zerodelay_dragonrise.o \
input/connect/connect_wiiugca.o
endif