[libdvdnav-devel] Restrict Exported Symbols To Those Currently Declared In Public Includes

Lawrence D'Oliveiro git at videolan.org
Fri Feb 19 16:17:27 CET 2016


libdvdread | branch: master | Lawrence D'Oliveiro <ldo at geek-central.gen.nz> | Fri Feb 19 16:16:09 2016 +0100| [5ec409508803037dfa931591aef93851458d1d2a] | committer: Jean-Baptiste Kempf

Restrict Exported Symbols To Those Currently Declared In Public Includes

The shared library currently exports the symbols “dvdinput_close”,
“dvdinput_open”, “dvdinput_read”, “dvdinput_seek”,
“dvdinput_setup” and “dvdinput_title”, even though these are not
currently declared in any of the public include files.

This restricts the export-symbols-regex to stop exporting these.

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/libdvdread.git/?a=commit;h=5ec409508803037dfa931591aef93851458d1d2a
---

 Makefile.am |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile.am b/Makefile.am
index edab5bb..81d2853 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -34,7 +34,7 @@ libdvdread_la_SOURCES = \
 libdvdread_la_LIBADD = $(CSS_LIBS)
 
 libdvdread_la_LDFLAGS = -version-info $(DVDREAD_LTVERSION) \
-	-export-symbols-regex "(^dvd.*|^nav.*|^ifo.*|^DVD.*|^UDF.*)"
+	-export-symbols-regex "(^dvdread.*|^nav.*|^ifo.*|^DVD.*|^UDF.*)"
 
 pkgincludedir = $(includedir)/dvdread
 pkginclude_HEADERS = \



More information about the libdvdnav-devel mailing list