From 6d843feb3b10b0ca6f824bc8f74eae2155941764 Mon Sep 17 00:00:00 2001 From: asdqwe Date: Fri, 25 Oct 2024 17:41:02 -0300 Subject: [PATCH] Replace shell with assignment operator --- examples/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/examples/Makefile b/examples/Makefile index fa3fcbf3..af0dc9e4 100644 --- a/examples/Makefile +++ b/examples/Makefile @@ -197,7 +197,8 @@ ifeq ($(TARGET_PLATFORM),PLATFORM_ANDROID) MAKE = mingw32-make endif ifeq ($(TARGET_PLATFORM),PLATFORM_WEB) - ifneq (, $(shell type emmake)) + EMMAKE != type emmake + ifneq (, $(EMMAKE)) MAKE = emmake make else MAKE = mingw32-make @@ -455,7 +456,7 @@ ifeq ($(TARGET_PLATFORM),PLATFORM_DESKTOP_RGFW) ifeq ($(PLATFORM_OS),OSX) # Libraries for Debian GNU/Linux desktop compiling # NOTE: Required packages: libegl1-mesa-dev - LDLIBS = ../src/libraylib.a -lm + LDLIBS = ../src/libraylib.a -lm LDLIBS += -framework Foundation -framework AppKit -framework OpenGL -framework CoreVideo endif endif