From 3e64232b1cc42a14dd1282339efc31f84c1a908a Mon Sep 17 00:00:00 2001 From: "Joseph C. Osborn" Date: Tue, 10 Oct 2023 12:26:04 -0700 Subject: [PATCH] use emar instead of em++ for archiving --- Makefile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 58dd63f..06b47be 100644 --- a/Makefile +++ b/Makefile @@ -622,9 +622,7 @@ OBJECTS := $(SOURCES_CXX:.cpp=.o) $(SOURCES_C:.c=.o) all: $(TARGET) $(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)