From 6ee709e6d7395cbb5fc1d6c1b35e2cb1127d4a9d Mon Sep 17 00:00:00 2001 From: Spoike Date: Sat, 19 May 2018 05:11:09 +0000 Subject: [PATCH] git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5253 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/engine/Makefile b/engine/Makefile index a7c17543d..420afff57 100644 --- a/engine/Makefile +++ b/engine/Makefile @@ -1249,7 +1249,7 @@ ifeq ($(FTE_TARGET),bsd) SV_DIR=sv_bsd SV_EXE_NAME=../$(EXE_NAME)-sv$(BITS) - SV_LDFLAGS= + SV_LDFLAGS=-lpthread SV_CFLAGS=$(SERVER_ONLY_CFLAGS) -DMULTITHREAD GLCL_OBJS=$(GL_OBJS) $(D3DGL_OBJS) $(GLQUAKE_OBJS) $(BOTLIB_OBJS) gl_vidlinuxglx.o snd_linux.o cd_null.o sys_linux.o sys_linux_threads.o @@ -1271,6 +1271,7 @@ ifeq ($(FTE_TARGET),bsd) MINGL_EXE_NAME=../$(EXE_NAME)-mingl MINGL_DIR=mingl_bsd + #openbsd has a special library for oss emulation. ifeq ($(shell uname -s),OpenBSD) GL_LDFLAGS+= -lossaudio VK_LDFLAGS+= -lossaudio