summaryrefslogtreecommitdiff
path: root/base/freetype.mak
diff options
context:
space:
mode:
authorChris Liddell <chris.liddell@artifex.com>2022-05-17 16:54:41 +0100
committerChris Liddell <chris.liddell@artifex.com>2022-06-01 09:46:18 +0100
commit7359f75059bad3216b0a9a886b4c211011a68e05 (patch)
treefc09dc522040adf7e098b612078f1ea95cfb3f22 /base/freetype.mak
parent64bffc6bdff1d5048442659d7b1bcca9b0f715ec (diff)
downloadghostpdl-7359f75059bad3216b0a9a886b4c211011a68e05.tar.gz
ug 705279: Make hidden symbols the default in the .so build.
This avoids symbol name clashes when linking our shared library with something that also links to over shared libraries. This also enforces a defined API in our shared library, like the Windows DLL does. Requires commit 64bffc6bd
Diffstat (limited to 'base/freetype.mak')
-rw-r--r--base/freetype.mak2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/freetype.mak b/base/freetype.mak
index f2511aa92..0ee15c90f 100644
--- a/base/freetype.mak
+++ b/base/freetype.mak
@@ -33,7 +33,7 @@ FTO_=$(O_)$(FTOBJ)
# Define our local compiler alias
# we must define FT2_BUILD_LIBRARY to get internal declarations
# If GS is using the system zlib, freetype should also do so,
-FTCC=$(CC) $(I_)$(FTGEN)$(_I) $(I_)$(FTSRCDIR)$(D)include$(_I) \
+FTCC=$(CC) $(I_)$(FTGEN)$(_I) $(I_)$(FTSRCDIR)$(D)include$(_I) $(FT_CFLAGS) \
$(D_)FT_CONFIG_OPTIONS_H=\"$(FTCONFH)\"$(_D) $(D_)FT2_BUILD_LIBRARY$(_D) \
$(D_)DARWIN_NO_CARBON$(_D) $(D_)FT_CONFIG_OPTION_SYSTEM_ZLIB$(_D) $(CCFLAGS)