libretro: Attempted fix for osx.

This commit is contained in:
orbea 2019-05-02 10:38:36 -07:00 committed by Stephen Anthony
parent 37268ea5c0
commit 7a5d245ae0
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@ ifneq (,$(findstring unix,$(platform)))
else ifeq ($(platform), osx)
CFLAGS += $(LTO) $(PTHREAD_FLAGS)
CXXFLAGS += $(LTO) $(PTHREAD_FLAGS)
LDFLAGS += $(LTO) $(PTHREAD_FLAGS)
LDFLAGS += $(LTO) $(PTHREAD_FLAGS) -stdlib=libc++
TARGET := $(TARGET_NAME)_libretro.dylib
fpic := -fPIC
SHARED := -dynamiclib