Commit b6ed4a73 authored by Pellegrino Prevete's avatar Pellegrino Prevete Committed by Guido Gunther

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

parent 10821fee
Pipeline #3872 passed with stage
in 4 minutes and 31 seconds
......@@ -145,6 +145,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,
......@@ -155,7 +162,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