Fix: Undefined symbols: "___gcc_personality_v0", "__Unwind_Resume" --- meson.build 2023-10-27 22:08:20.000000000 +0800 +++ meson.build 2024-01-28 12:42:32.000000000 +0800 @@ -1,8 +1,8 @@ project( - 'osinfo-db-tools', 'c', + 'osinfo-db-tools', ['c','cpp'], version: '1.11.0', license: 'GPLv2+', - meson_version: '>= 0.49.0', + meson_version: '>= 0.51.0', default_options: [ 'buildtype=debugoptimized', 'c_std=gnu99', --- tools/meson.build 2023-10-27 22:08:20.000000000 +0800 +++ tools/meson.build 2024-01-28 12:39:17.000000000 +0800 @@ -22,6 +22,7 @@ sources: osinfo_db_validate_sources, include_directories: osinfo_db_tools_include, dependencies: osinfo_db_validate_dependencies, + link_language: 'cpp', install: true ) @@ -41,6 +42,7 @@ sources: osinfo_db_import_sources, include_directories: osinfo_db_tools_include, dependencies: osinfo_db_import_dependencies, + link_language: 'cpp', install: true ) @@ -58,6 +60,7 @@ sources: osinfo_db_export_sources, include_directories: osinfo_db_tools_include, dependencies: osinfo_db_export_dependencies, + link_language: 'cpp', install: true) # osinfo-db-path @@ -71,6 +74,7 @@ sources: osinfo_db_path_sources, include_directories: osinfo_db_tools_include, dependencies: osinfo_db_path_dependencies, + link_language: 'cpp', install: true )