use emar for object file archives, not em++

This commit is contained in:
Joseph C. Osborn 2023-10-06 10:12:38 -07:00 committed by sonninnos
parent 04f37fe3a1
commit f3542eb9ce

View File

@ -448,9 +448,7 @@ all: $(TARGET)
-include $(OBJECTS:.o=.d))
$(TARGET): $(OBJECTS)
ifeq ($(platform), emscripten)
$(CXX) -r $(SHARED) -o $@ $(OBJECTS) $(LDFLAGS)
else ifeq ($(STATIC_LINKING), 1)
ifeq ($(STATIC_LINKING), 1)
$(AR) rcs $@ $(OBJECTS)
#STATIC_LINKING=1 and additional Makefile.common sources are incompatible for PS3 environment
else ifeq ($(platform), ps3)