libretro, fix apple os builds

This commit is contained in:
kub
2020-12-05 15:13:53 +01:00
parent db9d76a791
commit a42cb71bb3
3 changed files with 15 additions and 1 deletions

View File

@@ -233,9 +233,13 @@ endif
ifneq ($(findstring gcc,$(CC)),)
ifneq ($(findstring SunOS,$(shell uname -a)),SunOS)
ifeq ($(findstring Darwin,$(shell uname -a)),Darwin)
LDFLAGS += -Wl,-map,$(TARGET).map
else
LDFLAGS += -Wl,-Map=$(TARGET).map
endif
endif
endif
target_: $(TARGET)