diff options
author | Jean-André Santoni <jean.andre.santoni@gmail.com> | 2020-09-24 19:22:31 +0700 |
---|---|---|
committer | twinaphex <libretro@gmail.com> | 2021-03-12 08:42:22 +0100 |
commit | 6d962e01cb4b3bb748fdbec7f5c53a85026cca2d (patch) | |
tree | 2815734660f1021b4a4b5f077eae475099159440 /Makefile.libretro | |
parent | 60f93148665af3513ab43cb7b83ff5d6be9286c8 (diff) |
Fix libretro emscripten build
Diffstat (limited to 'Makefile.libretro')
-rw-r--r-- | Makefile.libretro | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile.libretro b/Makefile.libretro index 54df090..c977ec3 100644 --- a/Makefile.libretro +++ b/Makefile.libretro @@ -2,7 +2,12 @@ UNAME=$(shell uname -s) UNAMEM=$(shell uname -m) platform ?= unix -ifneq ($(findstring MINGW64,$(UNAME)),) +ifeq ($(platform), emscripten) + platform = emscripten + ABI := x86_64 + target = libblastem.so + libname = blastem_libretro_emscripten.bc +else ifneq ($(findstring MINGW64,$(UNAME)),) platform = win OS :=Windows CC :=gcc |