Fix Haiku build (#549)

This commit is contained in:
kwyxz 2019-10-16 23:08:15 -07:00 committed by rz5
parent 88f79a459a
commit a6a78b376a

View File

@ -82,7 +82,11 @@ ifneq (,$(findstring unix,$(platform)))
ifneq ($(shell uname -p | grep -E '((i.|x)86|amd64)'),)
IS_X86 = 1
endif
ifneq (,$(findstring Haiku,$(shell uname -s)))
LDFLAGS += $(PTHREAD_FLAGS) -lroot
else
LDFLAGS += $(PTHREAD_FLAGS) -ldl
endif
FLAGS +=
ifeq ($(HAVE_OPENGL),1)
ifneq (,$(findstring gles,$(platform)))