From 47c1c9a9c399e07ae4f1cf364aa7419b195c838c Mon Sep 17 00:00:00 2001 From: Cristi Mitrana Date: Wed, 11 Dec 2019 11:16:49 +0200 Subject: [PATCH] makefile.libretro: fix platform detection --- Makefile.libretro | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile.libretro b/Makefile.libretro index a0f042c..a7632d9 100644 --- a/Makefile.libretro +++ b/Makefile.libretro @@ -18,17 +18,17 @@ RETROARCH_OBJECTS := ifeq ($(platform),) platform = unix - ifeq ($(shell uname -a),) + ifeq ($(shell uname -s),) platform = win - else ifneq ($(findstring MINGW,$(shell uname -a)),) + else ifneq ($(findstring MINGW,$(shell uname -s)),) platform = win - else ifneq ($(findstring Darwin,$(shell uname -a)),) + else ifneq ($(findstring Darwin,$(shell uname -s)),) platform = osx arch = intel ifeq ($(shell uname -p),powerpc) arch = ppc endif - else ifneq ($(findstring win,$(shell uname -a)),) + else ifneq ($(findstring win,$(shell uname -s)),) platform = win endif endif