mirror of
https://github.com/mpv-player/mpv
synced 2025-01-12 09:59:44 +00:00
build: fix linking with --enable-static-build
This commit is contained in:
parent
21d93690cb
commit
20f6cf3ec6
@ -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",
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user