mirror of
https://github.com/mpv-player/mpv.git
synced 2025-12-28 05:33:14 +00:00
build: fix linking libmpv when swift features are built
the swift object file wasn't linked when libmpv was linked, which resulted in a missing symbol error. add the swift object to the linking list for libmpv too. Fixes #5522
This commit is contained in:
@@ -644,6 +644,7 @@ def build(ctx):
|
||||
"target": "mpv",
|
||||
"source": ctx.filtered_sources(sources),
|
||||
"use": ctx.dependencies_use(),
|
||||
"add_object": "osdep/macOS_swift.o",
|
||||
"includes": [ctx.bldnode.abspath(), ctx.srcnode.abspath()] + \
|
||||
ctx.dependencies_includes(),
|
||||
"features": features,
|
||||
|
||||
Reference in New Issue
Block a user