From 5e05f76e78c85bcc0882334d136f412421a43674 Mon Sep 17 00:00:00 2001 From: libretroadmin Date: Thu, 23 Feb 2023 17:44:23 +0100 Subject: [PATCH] Some buildfixes for compiling macOS with plain make --- Makefile.common | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/Makefile.common b/Makefile.common index ca952f3f0b..3954da6fd0 100644 --- a/Makefile.common +++ b/Makefile.common @@ -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