use emar for archiving, not em++

This commit is contained in:
Joseph C. Osborn 2023-10-10 12:23:43 -07:00
parent a0ddcd3f08
commit ff7b5eae1d

View File

@ -607,9 +607,7 @@ else
endif
$(TARGET): $(OBJECTS)
ifeq ($(platform), emscripten)
$(CXX) $(CXXFLAGS) $(OBJOUT)$@ $^
else ifeq ($(STATIC_LINKING), 1)
ifeq ($(STATIC_LINKING), 1)
$(AR) rcs $@ $(OBJECTS)
else
$(LD) $(LINKOUT)$@ $^ $(LDFLAGS) $(LIBS)