diff --git a/glib/meson.build b/glib/meson.build index 1da0bcd3c..33ece2d02 100644 --- a/glib/meson.build +++ b/glib/meson.build @@ -283,8 +283,9 @@ configure_file( input: 'libglib-gdb.py.in', output: 'libglib-2.0.so.@0@-gdb.py'.format(library_version), configuration: gdb_conf, - install: true, - install_dir: join_paths(get_option('datadir'), 'gdb/auto-load' + get_option('libdir')) + # FIXME: Figure out how to install this on Windows + install: host_system != 'windows', + install_dir: join_paths(glib_datadir, 'gdb', 'auto-load', './' + glib_libdir) ) if enable_systemtap diff --git a/gobject/meson.build b/gobject/meson.build index 5a8289e6f..0c8c0cb26 100644 --- a/gobject/meson.build +++ b/gobject/meson.build @@ -100,8 +100,9 @@ configure_file( input: 'libgobject-gdb.py.in', output: 'libgobject-2.0.so.@0@-gdb.py'.format(library_version), configuration: gdb_conf, - install: true, - install_dir: join_paths(get_option('datadir'), 'gdb/auto-load/' + get_option('libdir')) + # FIXME: Figure out how to install this on Windows + install: host_system != 'windows', + install_dir: join_paths(glib_datadir, 'gdb', 'auto-load', './' + glib_libdir) ) if enable_systemtap