From c1bd5d7aa3513bba050c8a725568c8718728f276 Mon Sep 17 00:00:00 2001 From: falkTX Date: Wed, 25 May 2022 15:08:07 +0100 Subject: [PATCH] Fix linux build Signed-off-by: falkTX --- source/Makefile.deps.mk | 20 +++++++------------- 1 file changed, 7 insertions(+), 13 deletions(-) diff --git a/source/Makefile.deps.mk b/source/Makefile.deps.mk index 28d261949..c36d39f1c 100644 --- a/source/Makefile.deps.mk +++ b/source/Makefile.deps.mk @@ -18,26 +18,20 @@ ifneq ($(WIN32),true) ifneq (,$(findstring bsd,$(TARGET_MACHINE))) BSD=true -endif -ifneq (,$(findstring haiku,$(TARGET_MACHINE))) +else ifneq (,$(findstring haiku,$(TARGET_MACHINE))) HAIKU=true -endif -ifneq (,$(findstring gnu,$(TARGET_MACHINE))) -HURD=true -endif -ifneq (,$(findstring linux,$(TARGET_MACHINE))) +else ifneq (,$(findstring linux,$(TARGET_MACHINE))) LINUX=true -endif -ifneq (,$(findstring apple,$(TARGET_MACHINE))) +else ifneq (,$(findstring gnu,$(TARGET_MACHINE))) +HURD=true +else ifneq (,$(findstring apple,$(TARGET_MACHINE))) MACOS=true -endif -ifneq (,$(findstring mingw,$(TARGET_MACHINE))) +else ifneq (,$(findstring mingw,$(TARGET_MACHINE))) WIN32=true ifneq (,$(findstring x86_64,$(TARGET_MACHINE))) WIN64=true endif -endif -ifneq (,$(findstring msys,$(TARGET_MACHINE))) +else ifneq (,$(findstring msys,$(TARGET_MACHINE))) WIN32=true endif