(Haiku) Fix build
authorHigor Eurípedes <heuripedes@gmail.com>
Thu, 28 Aug 2014 15:52:34 +0000 (12:52 -0300)
committerHigor Eurípedes <heuripedes@gmail.com>
Thu, 28 Aug 2014 17:20:36 +0000 (14:20 -0300)
Makefile.libretro

index 640fecf..271d604 100644 (file)
@@ -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)