mirror of https://github.com/inolen/redream.git
Darwin fix for libretro build
This commit is contained in:
parent
817e91e058
commit
bfbfd9fb82
|
@ -188,7 +188,11 @@ SOURCES_C += $(CORE_DIR)/src/core/filesystem_win.c \
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# work around glad using dlopen, etc. which are actually unused
|
# work around glad using dlopen, etc. which are actually unused
|
||||||
|
ifneq ($(findstring Darwin,$(shell uname -a)),)
|
||||||
|
LDFLAGS += -undefined dynamic_lookup
|
||||||
|
else
|
||||||
LDFLAGS += -Wl,--unresolved-symbols=ignore-all
|
LDFLAGS += -Wl,--unresolved-symbols=ignore-all
|
||||||
|
endif
|
||||||
SOURCES_C += $(CORE_DIR)/deps/glad/src/glad.c
|
SOURCES_C += $(CORE_DIR)/deps/glad/src/glad.c
|
||||||
|
|
||||||
ifdef WITH_DYNAREC
|
ifdef WITH_DYNAREC
|
||||||
|
|
Loading…
Reference in New Issue