mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-03 01:36:17 +01:00
meson: Add 'charsetalias-dir' option mirroring the autotools one
This fixes the build again.
This commit is contained in:
parent
4e5c6616f0
commit
c603ba301d
@ -1,4 +1,9 @@
|
||||
charsetalias_dir = get_option('charsetalias-dir')
|
||||
if charsetalias_dir == ''
|
||||
charsetalias_dir = get_option('libdir')
|
||||
endif
|
||||
|
||||
charset_lib = static_library('charset', 'localcharset.c',
|
||||
include_directories : configinc,
|
||||
pic : true,
|
||||
c_args : [ '-DLIBDIR="@0@"'.format(get_option('libdir')) ] + glib_hidden_visibility_args)
|
||||
c_args : [ '-DGLIB_CHARSETALIAS_DIR="@0@"'.format(charsetalias_dir) ] + glib_hidden_visibility_args)
|
||||
|
@ -8,3 +8,5 @@ option('enable-systemtap', type : 'boolean', value : false,
|
||||
description : 'include tracing support for systemtap')
|
||||
option('tapset-install-dir', type : 'string', value : '',
|
||||
description : 'path where systemtap tapsets are installed')
|
||||
option('charsetalias-dir', type : 'string', value : '',
|
||||
description : 'directory for charset.alias file (libdir by default)')
|
||||
|
Loading…
Reference in New Issue
Block a user