File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -44,23 +44,24 @@ function meson_setup_options {
4444 local install_dir=" ${SIM_HOME:? SIM_HOME not set} /gemc/dev"
4545
4646 meson_options=" "
47+ sanitizer_library_options=" -Ddefault_library=shared -Ddefault_both_libraries=shared"
4748 buildtype=" -Dbuildtype=debug "
4849
4950 case $1 in
5051 " address" )
51- meson_options=" -Db_sanitize=address"
52+ meson_options=" -Db_sanitize=address $sanitizer_library_options "
5253 ;;
5354 " thread" )
54- meson_options=" -Db_sanitize=thread"
55+ meson_options=" -Db_sanitize=thread $sanitizer_library_options "
5556 ;;
5657 " undefined" )
57- meson_options=" -Db_sanitize=undefined"
58+ meson_options=" -Db_sanitize=undefined $sanitizer_library_options "
5859 ;;
5960 " memory" )
60- meson_options=" -Db_sanitize=memory"
61+ meson_options=" -Db_sanitize=memory $sanitizer_library_options "
6162 ;;
6263 " leak" )
63- meson_options=" -Db_sanitize=leak"
64+ meson_options=" -Db_sanitize=leak $sanitizer_library_options "
6465 ;;
6566 " profile" )
6667 meson_options=" "
Original file line number Diff line number Diff line change @@ -107,7 +107,7 @@ foreach L : LD
107107 if not qrc_sources.contains('' )
108108 qrc_compiled_sources += qt6.compile_resources(name : this_lib_name + ' _qtresources' , sources : qrc_sources)
109109 endif
110- this_library = static_library (
110+ this_library = library (
111111 this_lib_name,
112112 sources + moc_sources + qrc_compiled_sources,
113113 install : true ,
You can’t perform that action at this time.
0 commit comments