1
0
Fork 0

Merge pull request #1447 from ailin-nemui/signalsfile-fix

fix signalsfile some more
This commit is contained in:
ailin-nemui 2023-02-13 08:51:33 +00:00 committed by GitHub
commit c1fd4b17f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 1 deletions

View File

@ -598,7 +598,12 @@ if not glib_internal
endif
signalsfile = docdir / 'signals.txt'
if signalsfile.startswith('/')
signalsfile = signalsfile.replace(get_option('prefix'), '${prefix}')
signalsfile = signalsfile.split(get_option('prefix'))
if signalsfile[0] == ''
signalsfile = '${prefix}' + signalsfile[1]
else
signalsfile = signalsfile[0]
endif
else
signalsfile = '${prefix}' / signalsfile
endif