[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft-devel] improve symbol export on non-Windows platforms
From: |
Werner LEMBERG |
Subject: |
Re: [ft-devel] improve symbol export on non-Windows platforms |
Date: |
Mon, 23 May 2016 06:50:56 +0200 (CEST) |
> I want to apply the following patch
>
> --- a/builds/unix/unix-cc.in
> +++ b/builds/unix/unix-cc.in
> @@ -109,6 +109,6 @@
> 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
>
> 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.
There was no comment, so I've added this patch to the git repository.
Werner