mirror of https://github.com/mpv-player/mpv
build: fix linking with --enable-static-build
This commit is contained in:
parent
1a346ce11b
commit
4759f61e73
|
@ -431,7 +431,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
|
||||
|
@ -459,7 +459,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",
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue