From bdf607ea5f218b1aa60dff9abc94b68e1a934368 Mon Sep 17 00:00:00 2001 From: wm4 Date: Tue, 5 Aug 2014 02:21:29 +0200 Subject: build: list exported symbols explicitly Instead of using a regex to match names to be exported from the libmpv dynamic shared library, use a libmpv.def file, which lists all exported functions explicitly. This reduces the platform specifics in syms.py. I'm not sure if the separate compile_sym task is still needed (it could probably be collapsed, which would concentrate the platform specifics into one place). --- wscript_build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'wscript_build.py') diff --git a/wscript_build.py b/wscript_build.py index 87bf54de43..5eebf89ee8 100644 --- a/wscript_build.py +++ b/wscript_build.py @@ -469,7 +469,7 @@ def build(ctx): includes = [ctx.bldnode.abspath(), ctx.srcnode.abspath()] + \ ctx.dependencies_includes(), features = features, - export_symbols_regex = 'mpv_.*', + export_symbols_def = "etc/libmpv.def", install_path = ctx.env.LIBDIR, vnum = libversion, ) -- cgit v1.2.3