From 6d962e01cb4b3bb748fdbec7f5c53a85026cca2d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-Andr=C3=A9=20Santoni?= Date: Thu, 24 Sep 2020 19:22:31 +0700 Subject: Fix libretro emscripten build --- Makefile.libretro | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3