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
This commit is contained in:
Eukara 2019-08-12 02:32:18 +00:00
parent 299921118d
commit 3250a794b3
1 changed files with 6 additions and 3 deletions

View File

@ -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)))