Commit a662b3b8 authored by Libretro-Admin's avatar Libretro-Admin
Browse files

Only add these libs if not MSVC build

parent d1d3a96c
......@@ -54,6 +54,8 @@ ifeq ($(FORCE_GLES),1)
GLES=1
endif
LIBS = -lpthread
# Unix
ifneq (,$(findstring unix,$(platform)))
TARGET := $(TARGET_NAME)_libretro.so
......@@ -395,10 +397,12 @@ CXXFLAGS += $(CPUOPTS) $(COREFLAGS) $(INCFLAGS) $(INCFLAGS_PLATFORM) $(PLATCFLAG
CFLAGS += $(CPUOPTS) $(COREFLAGS) $(INCFLAGS) $(INCFLAGS_PLATFORM) $(PLATCFLAGS) $(fpic) $(PLATCFLAGS) $(CPUFLAGS) $(GLFLAGS) $(DYNAFLAGS)
ifeq ($(findstring Haiku,$(UNAME)),)
LDFLAGS += -lm
ifeq (,$(findstring msvc,$(platform)))
LIBS += -lm
endif
endif
LDFLAGS += $(fpic) -lpthread
LDFLAGS += $(fpic) $(LIBS)
ifeq ($(HAVE_LIBCURL),1)
LDFLAGS += -lcurl
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment