diff options
author | Stefano Pigozzi <stefano.pigozzi@gmail.com> | 2014-12-29 18:30:24 +0100 |
---|---|---|
committer | Stefano Pigozzi <stefano.pigozzi@gmail.com> | 2014-12-29 18:30:24 +0100 |
commit | 20f6cf3ec6996735f441cbd852e28879f0ee86de (patch) | |
tree | 1b5b25be11e8b29258611ccc89c6b65543e321b4 /wscript_build.py | |
parent | 21d93690cb3e6af5f58271af448f924b891cb5af (diff) | |
download | mpv-20f6cf3ec6996735f441cbd852e28879f0ee86de.tar.bz2 mpv-20f6cf3ec6996735f441cbd852e28879f0ee86de.tar.xz |
build: fix linking with --enable-static-build
Diffstat (limited to 'wscript_build.py')
-rw-r--r-- | wscript_build.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wscript_build.py b/wscript_build.py index 6c6b6bd3ae..ed19ffcf0a 100644 --- a/wscript_build.py +++ b/wscript_build.py @@ -432,7 +432,7 @@ def build(ctx): ctx( target = "mpv", source = "player/main_fn.c", - use = 'objects', + use = ctx.dependencies_use() + ['objects'], includes = _all_includes(ctx), features = "c cprogram", install_path = ctx.env.BINDIR @@ -460,7 +460,7 @@ def build(ctx): ctx( target = os.path.splitext(test.srcpath())[0], source = test.srcpath(), - use = "objects", + use = ctx.dependencies_use() + ['objects'], includes = _all_includes(ctx), features = "c cprogram", ) |