Skip to content

Commit 865acf3

Browse files
Update Makefile.libretro
1 parent 15bb26d commit 865acf3

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

libretroBuildSystem/Makefile.libretro

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,9 @@ else ifneq (,$(findstring armv,$(platform)))
393393
# Emscripten
394394
else ifeq ($(platform), emscripten)
395395
TARGET := $(TARGET_NAME)_libretro_emscripten.bc
396+
AR=emar
396397
STATIC_LINKING = 1
398+
STATIC_LINKING_LINK = 1
397399

398400
# GCW0
399401
else ifeq ($(platform), gcw0)
@@ -537,9 +539,7 @@ all: $(TARGET)
537539

538540
$(TARGET): $(OBJECTS)
539541
@echo "** BUILDING $(TARGET) FOR PLATFORM $(platform) **"
540-
ifeq ($(platform), emscripten)
541-
$(CC) $(CFLAGS) $(OBJOUT)$@ $^
542-
else ifeq ($(STATIC_LINKING_LINK), 1)
542+
ifeq ($(STATIC_LINKING_LINK), 1)
543543
ifneq (,$(findstring msvc,$(platform)))
544544
$(LD) $(LINKOUT)$@ $(OBJECTS)
545545
else

0 commit comments

Comments
 (0)