[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[freetype2] master 771d3c8: * builds/unix/unix-cc.in (LINK_LIBRARY): Use
From: |
Werner LEMBERG |
Subject: |
[freetype2] master 771d3c8: * builds/unix/unix-cc.in (LINK_LIBRARY): Use `-export-symbols'. |
Date: |
Mon, 23 May 2016 04:50:08 +0000 (UTC) |
branch: master
commit 771d3c8ae25d5042a3f6b76a329ad3dd782eca66
Author: Werner Lemberg <address@hidden>
Commit: Werner Lemberg <address@hidden>
* builds/unix/unix-cc.in (LINK_LIBRARY): Use `-export-symbols'.
This was commented about 10 years ago – I think the reason then to
disable libtool's `-export-symbols' option was to give some badly
programmed applications access to internal FreeType functions.
I believe that we should no longer take care of such programs; the
number of symbols exported should be rather restricted as much as
possible.
---
ChangeLog | 12 ++++++++++++
builds/unix/unix-cc.in | 2 +-
2 files changed, 13 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index 5d549d1..230384d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,15 @@
+2016-05-23 Werner Lemberg <address@hidden>
+
+ * builds/unix/unix-cc.in (LINK_LIBRARY): Use `-export-symbols'.
+
+ This was commented about 10 years ago – I think the reason then to
+ disable libtool's `-export-symbols' option was to give some badly
+ programmed applications access to internal FreeType functions.
+
+ I believe that we should no longer take care of such programs; the
+ number of symbols exported should be rather restricted as much as
+ possible.
+
2016-05-22 Werner Lemberg <address@hidden>
[autofit] Add blue-zone support for Gurmukhi script.
diff --git a/builds/unix/unix-cc.in b/builds/unix/unix-cc.in
index 0083e05..df09e7e 100644
--- a/builds/unix/unix-cc.in
+++ b/builds/unix/unix-cc.in
@@ -109,6 +109,6 @@ CCexe := $(CCraw_build) # used to compile
`apinames' only
LINK_LIBRARY = $(LIBTOOL) --mode=link $(CCraw) -o $@ $(OBJECTS_LIST) \
-rpath $(libdir) -version-info $(version_info) \
$(LDFLAGS) -no-undefined \
- # -export-symbols $(EXPORTS_LIST)
+ -export-symbols $(EXPORTS_LIST)
# EOF
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [freetype2] master 771d3c8: * builds/unix/unix-cc.in (LINK_LIBRARY): Use `-export-symbols'.,
Werner LEMBERG <=