From 6d65ab3a7d4057c844327adfe8e81dcf5ecbaea5 Mon Sep 17 00:00:00 2001 From: Ricardo Constantino Date: Mon, 24 Apr 2017 15:05:22 +0100 Subject: wscript_build: install shared libmpv to BINDIR for Win32 --- wscript_build.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'wscript_build.py') 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: -- cgit v1.2.3