From 14e259ac3904da798acaefb191f9c5e22a74c857 Mon Sep 17 00:00:00 2001 From: sparklewind Date: Fri, 21 Dec 2012 21:50:07 +0000 Subject: [PATCH] Fix for compiling on Haiku --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 125718afd5..0e6bffafcf 100644 --- a/Makefile +++ b/Makefile @@ -65,9 +65,10 @@ ifneq ($(findstring Linux,$(OS)),) JOYCONFIG_OBJ += input/linuxraw_joypad.o endif +OBJ += autosave.o thread.o + ifeq ($(HAVE_THREADS), 1) - OBJ += autosave.o thread.o - LIBS += -lpthread + LIBS += endif ifeq ($(HAVE_CONFIGFILE), 1)