meson: Fix GDB scripts install_dir for *nix

Disable installation on Windows for now as this would use a colon in the
directory name.

https://bugzilla.gnome.org/show_bug.cgi?id=788772
This commit is contained in:
Jan Alexander Steffens (heftig) 2017-10-24 16:29:49 +02:00 committed by Nirbheek Chauhan
parent 96ebcee8c4
commit 430e2dd3f5
2 changed files with 6 additions and 4 deletions

View File

@ -283,8 +283,9 @@ configure_file(
input: 'libglib-gdb.py.in', input: 'libglib-gdb.py.in',
output: 'libglib-2.0.so.@0@-gdb.py'.format(library_version), output: 'libglib-2.0.so.@0@-gdb.py'.format(library_version),
configuration: gdb_conf, configuration: gdb_conf,
install: true, # FIXME: Figure out how to install this on Windows
install_dir: join_paths(get_option('datadir'), 'gdb/auto-load' + get_option('libdir')) install: host_system != 'windows',
install_dir: join_paths(glib_datadir, 'gdb', 'auto-load', './' + glib_libdir)
) )
if enable_systemtap if enable_systemtap

View File

@ -100,8 +100,9 @@ configure_file(
input: 'libgobject-gdb.py.in', input: 'libgobject-gdb.py.in',
output: 'libgobject-2.0.so.@0@-gdb.py'.format(library_version), output: 'libgobject-2.0.so.@0@-gdb.py'.format(library_version),
configuration: gdb_conf, configuration: gdb_conf,
install: true, # FIXME: Figure out how to install this on Windows
install_dir: join_paths(get_option('datadir'), 'gdb/auto-load/' + get_option('libdir')) install: host_system != 'windows',
install_dir: join_paths(glib_datadir, 'gdb', 'auto-load', './' + glib_libdir)
) )
if enable_systemtap if enable_systemtap