mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-26 23:46:15 +01:00
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:
parent
96ebcee8c4
commit
430e2dd3f5
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user