From: Higor Eurípedes Date: Thu, 28 Aug 2014 15:52:34 +0000 (-0300) Subject: (Haiku) Fix build X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=48c9441c68602f0486beea033b572beef9eefe90;hp=-c;p=picodrive.git (Haiku) Fix build --- 48c9441c68602f0486beea033b572beef9eefe90 diff --git a/Makefile.libretro b/Makefile.libretro index 640fecf..271d604 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)