summaryrefslogtreecommitdiffstats
path: root/wscript_build.py
diff options
context:
space:
mode:
Diffstat (limited to 'wscript_build.py')
-rw-r--r--wscript_build.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/wscript_build.py b/wscript_build.py
index ec648807f3..ab50b107a6 100644
--- a/wscript_build.py
+++ b/wscript_build.py
@@ -544,6 +544,7 @@ def build(ctx):
"features": features,
"export_symbols_def": "libmpv/mpv.def",
"install_path": ctx.env.LIBDIR,
+ "install_path_implib": ctx.env.LIBDIR,
}
if shared and ctx.dependency_satisfied('android'):
@@ -556,6 +557,9 @@ def build(ctx):
# for all other configurations we want SONAME to be used
libmpv_kwargs["vnum"] = libversion
+ if shared and ctx.env.DEST_OS == 'win32':
+ libmpv_kwargs["install_path"] = ctx.env.BINDIR
+
ctx(**libmpv_kwargs)
if build_shared: