summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--wscript4
1 files changed, 2 insertions, 2 deletions
diff --git a/wscript b/wscript
index eb97d7749b..18bb420c97 100644
--- a/wscript
+++ b/wscript
@@ -72,7 +72,7 @@ build_options = [
'desc': 'C plugins',
'deps': [ 'libdl' ],
'default': 'disable',
- 'func': check_cc(linkflags=['-Wl,-export-dynamic']),
+ 'func': check_cc(linkflags=['-rdynamic']),
}, {
'name': 'dlopen',
'desc': 'dlopen',
@@ -1033,7 +1033,7 @@ def configure(ctx):
# not linked against libmpv. The C plugin needs to be able to pick
# up the libmpv symbols from the binary. We still restrict the set
# of exported symbols via mpv.def.
- ctx.env.LINKFLAGS += ['-Wl,-export-dynamic']
+ ctx.env.LINKFLAGS += ['-rdynamic']
ctx.store_dependencies_lists()