From 3250a794b32e8f629e0753977b506d9ff877c700 Mon Sep 17 00:00:00 2001 From: Eukara Date: Mon, 12 Aug 2019 02:32:18 +0000 Subject: [PATCH] Hardlink against Freetype on OpenBSD from now on. The versioning is different on systems apparently and we don't want dynamic linking to turn into a Lovecraftian nightmare git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5512 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/Makefile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/engine/Makefile b/engine/Makefile index 04f767226..105267e9f 100644 --- a/engine/Makefile +++ b/engine/Makefile @@ -1375,9 +1375,12 @@ ifeq ($(FTE_TARGET),bsd) #openbsd has a special library for oss emulation. ifeq ($(shell uname -s),OpenBSD) - GL_LDFLAGS+= -lossaudio - VK_LDFLAGS+= -lossaudio - M_LDFLAGS+= -lossaudio + GL_LDFLAGS+= -lossaudio -lfreetype + VK_LDFLAGS+= -lossaudio -lfreetype + M_LDFLAGS+= -lossaudio -lfreetype + M_CFLAGS+= -DFREETYPE_STATIC + VK_CFLAGS+= -DFREETYPE_STATIC + GL_CFLAGS+= -DFREETYPE_STATIC endif ifeq (,$(findstring NO_ZLIB,$(CFLAGS)))