fix emscripten builds

This commit is contained in:
Toad King 2018-01-16 19:55:47 -06:00
parent bed327e540
commit f1f5e498a6

View File

@ -292,7 +292,9 @@ CXXFLAGS += $(FLAGS)
CFLAGS += $(FLAGS)
$(TARGET): $(OBJECTS)
ifeq ($(STATIC_LINKING), 1)
ifeq ($(platform), emscripten)
$(CXX) $(CXXFLAGS) -o $@ $^
else ifeq ($(STATIC_LINKING), 1)
$(AR) rcs $@ $(OBJECTS)
else
$(CXX) -o $@ $^ $(LDFLAGS)