diff options
Diffstat (limited to 'Makefile.libretro')
-rw-r--r-- | Makefile.libretro | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Makefile.libretro b/Makefile.libretro index 625972a..3f642ae 100644 --- a/Makefile.libretro +++ b/Makefile.libretro @@ -380,6 +380,14 @@ else ifneq (,$(findstring armv,$(platform))) ARCH = arm DYNAREC = ari64 +# Emscripten +else ifeq ($(platform), emscripten) + TARGET := $(TARGET_NAME)_libretro_$(platform).bc + fpic := -fPIC + SHARED := -shared -Wl,--no-undefined -Wl,--version-script=link.T + CFLAGS += -DNO_DYLIB -DNO_SOCKET + STATIC_LINKING = 1 + # Windows else TARGET := $(TARGET_NAME)_libretro.dll |