libretro: Attempt to fix osx again.

This commit is contained in:
orbea 2019-05-02 13:51:52 -07:00 committed by Stephen Anthony
parent 83a3bdd6cd
commit 7c79a4dd03
1 changed files with 2 additions and 2 deletions

View File

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