From: Twinaphex Date: Thu, 28 Aug 2014 17:23:26 +0000 (+0200) Subject: Merge pull request #3 from heuripedes/master X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a0c9eaea5b7245ca3fab267131df0df1f12c1a50;hp=d84817550ac064fbba7ee718fb3baeda7d5546da;p=picodrive.git Merge pull request #3 from heuripedes/master (Haiku) Fix build --- 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)