Skip to content

Commit

Permalink
Handle minus sign correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
Ninja-Koala authored and tbeloqui committed Aug 22, 2019
1 parent 3861e35 commit 42b8104
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mesonbuild/modules/gnome.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
# https://bugzilla.gnome.org/show_bug.cgi?id=774368
gresource_dep_needed_version = '>= 2.51.1'

gresource_ld_binary_needed_version = '>= 2.60'
gresource_ld_binary_needed_version = '>= 2.59'

native_glib_version = None
girwarning_printed = False
Expand Down Expand Up @@ -170,6 +170,7 @@ def compile_resources(self, state, args, kwargs):
cmd += ['--c-name', c_name]
else:
c_name = os.path.basename(ifile).partition('.')[0]
c_name = c_name.replace('-', '_')
c_name_no_underscores = c_name.replace('_', '')
export = kwargs.pop('export', False)
if not export:
Expand Down

0 comments on commit 42b8104

Please sign in to comment.