aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/gtk3/cairo-cpp-linkage.patch
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/gtk3/cairo-cpp-linkage.patch')
-rw-r--r--vcpkg/ports/gtk3/cairo-cpp-linkage.patch62
1 files changed, 62 insertions, 0 deletions
diff --git a/vcpkg/ports/gtk3/cairo-cpp-linkage.patch b/vcpkg/ports/gtk3/cairo-cpp-linkage.patch
new file mode 100644
index 0000000..dce7739
--- /dev/null
+++ b/vcpkg/ports/gtk3/cairo-cpp-linkage.patch
@@ -0,0 +1,62 @@
+diff --git a/gtk/meson.build b/gtk/meson.build
+index 79f4f0d..33a7723 100644
+--- a/gtk/meson.build
++++ b/gtk/meson.build
+@@ -1074,6 +1074,7 @@ gtk_query_settings = executable(
+ 'gtk-query-settings.c',
+ c_args: gtk_cargs,
+ dependencies: libgtk_dep,
++ link_language: 'cpp',
+ install: true
+ )
+ gtk_tools += gtk_query_settings
+@@ -1083,6 +1084,7 @@ gtk_builder_tool = executable(
+ 'gtk-builder-tool.c',
+ c_args: gtk_cargs,
+ dependencies: libgtk_dep,
++ link_language: 'cpp',
+ install: true
+ )
+ gtk_tools += gtk_builder_tool
+@@ -1115,6 +1117,7 @@ gtk_update_icon_cache = executable(
+ extra_update_icon_cache_objs,
+ c_args: gtk_cargs,
+ dependencies: libgtk_dep,
++ link_language: 'cpp',
+ install: true
+ )
+ gtk_tools += gtk_update_icon_cache
+@@ -1125,6 +1128,7 @@ gtk_query_immodules = executable(
+ 'gtkutils.c',
+ c_args: gtk_cargs,
+ dependencies: libgtk_dep,
++ link_language: 'cpp',
+ install: true
+ )
+ gtk_tools += gtk_query_immodules
+@@ -1134,6 +1138,7 @@ gtk_encode_symbolic_svg = executable(
+ 'encodesymbolic.c',
+ c_args: gtk_cargs,
+ dependencies: libgtk_dep,
++ link_language: 'cpp',
+ install: true
+ )
+ gtk_tools += gtk_encode_symbolic_svg
+@@ -1143,6 +1148,7 @@ gtk_launch = executable(
+ 'gtk-launch.c',
+ c_args: gtk_cargs,
+ dependencies: libgtk_dep,
++ link_language: 'cpp',
+ install: true
+ )
+ gtk_tools += gtk_launch
+diff --git a/meson.build b/meson.build
+index 287f0cb..d35106f 100644
+--- a/meson.build
++++ b/meson.build
+@@ -1,4 +1,4 @@
+-project('gtk+', 'c',
++project('gtk+', 'c', 'cpp',
+ version: '3.24.43',
+ default_options: [
+ 'buildtype=debugoptimized',