From 48c9441c68602f0486beea033b572beef9eefe90 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Higor=20Eur=C3=ADpedes?= Date: Thu, 28 Aug 2014 12:52:34 -0300 Subject: [PATCH] (Haiku) Fix build --- Makefile.libretro | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile.libretro b/Makefile.libretro index 640fecf5..271d6045 100644 --- a/Makefile.libretro +++ b/Makefile.libretro @@ -237,7 +237,9 @@ asm_mix = 1 endif CFLAGS += -fPIC -LDLIBS += -lm +ifeq ($(findstring Haiku,$(shell uname -a)),) + LDLIBS += -lm +endif SHARED ?= -shared LDFLAGS += $(SHARED) -- 2.39.5