build: Force default libdir location for libhandy target on Windows to keep MinGW compatibility

parent 154ca50a
Pipeline #3613 failed with stage
in 3 minutes and 35 seconds
......@@ -143,6 +143,13 @@ else
libtype = 'shared_library'
endif
# set default libdir on win32 for libhandy target to keep MinGW compatibility
if target_system == 'windows'
handy_libdir = [true]
else
handy_libdir = libdir
endif
libhandy = build_target(
'handy-' + apiversion,
libhandy_sources,
......@@ -153,7 +160,7 @@ libhandy = build_target(
include_directories: [ root_inc, src_inc ],
install: true,
link_args: libhandy_link_args,
install_dir: libdir,
install_dir: handy_libdir,
target_type: libtype,
)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment