From cddd9ad1c3a27d1f055a1aa91004feff27ab8f1a Mon Sep 17 00:00:00 2001 From: Grigori Goronzy Date: Mon, 29 Jun 2009 14:16:46 +0200 Subject: Restrict symbols exported in the DSO Only export those symbols into the shared object which are defined in the API (ass.h). A file libass.sym which contains a list of symbols was added and libtool configured to use it. --- libass/Makefile.am | 1 + 1 file changed, 1 insertion(+) (limited to 'libass/Makefile.am') diff --git a/libass/Makefile.am b/libass/Makefile.am index 8703f6a..ccdeebc 100644 --- a/libass/Makefile.am +++ b/libass/Makefile.am @@ -8,6 +8,7 @@ libass_la_SOURCES = ass.c ass_cache.c ass_font.c ass_fontconfig.c ass_render.c \ ass_cache.h ass_fontconfig.h ass_font.h ass.h \ ass_library.h ass_types.h ass_utils.h help_mp.h libass_la_LDFLAGS = -version-info $(LIBASS_LT_CURRENT):$(LIBASS_LT_REVISION):$(LIBASS_LT_AGE) +libass_la_LDFLAGS += -export-symbols $(srcdir)/libass.sym assheadersdir = $(includedir)/ass dist_assheaders_HEADERS = ass.h ass_types.h -- cgit v1.2.3