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

View file

@ -1375,9 +1375,12 @@ ifeq ($(FTE_TARGET),bsd)
#openbsd has a special library for oss emulation. #openbsd has a special library for oss emulation.
ifeq ($(shell uname -s),OpenBSD) ifeq ($(shell uname -s),OpenBSD)
GL_LDFLAGS+= -lossaudio GL_LDFLAGS+= -lossaudio -lfreetype
VK_LDFLAGS+= -lossaudio VK_LDFLAGS+= -lossaudio -lfreetype
M_LDFLAGS+= -lossaudio M_LDFLAGS+= -lossaudio -lfreetype
M_CFLAGS+= -DFREETYPE_STATIC
VK_CFLAGS+= -DFREETYPE_STATIC
GL_CFLAGS+= -DFREETYPE_STATIC
endif endif
ifeq (,$(findstring NO_ZLIB,$(CFLAGS))) ifeq (,$(findstring NO_ZLIB,$(CFLAGS)))