From 258c4782c63cefaba98aba45c261199e331d55a2 Mon Sep 17 00:00:00 2001 From: Jonathan Gray Date: Sun, 5 May 2013 11:40:57 +1000 Subject: [PATCH] correct the linked libs on OpenBSD --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 458eaa42..9b33869a 100644 --- a/Makefile +++ b/Makefile @@ -711,7 +711,7 @@ ifeq ($(PLATFORM),openbsd) SHLIBCFLAGS=-fPIC SHLIBLDFLAGS=-shared $(LDFLAGS) - THREAD_LIBS=-pthread + THREAD_LIBS=-lpthread LIBS=-lm CLIENT_LIBS = @@ -721,7 +721,7 @@ ifeq ($(PLATFORM),openbsd) ifeq ($(USE_OPENAL),1) ifneq ($(USE_OPENAL_DLOPEN),1) - CLIENT_LIBS += $(THREAD_LIBS) -lossaudio -lopenal + CLIENT_LIBS += $(THREAD_LIBS) -lopenal endif endif