* 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.
This commit is contained in:
Werner Lemberg 2016-05-23 06:49:38 +02:00
parent 9d179e3d70
commit 771d3c8ae2
2 changed files with 13 additions and 1 deletions

View File

@ -1,3 +1,15 @@
2016-05-23 Werner Lemberg <wl@gnu.org>
* 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 <wl@gnu.org>
[autofit] Add blue-zone support for Gurmukhi script.

View File

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