Set gittap even in release tarball ##build

This commit is contained in:
Riccardo Schirone 2019-01-10 10:34:33 +01:00 committed by radare
parent 0b2c1ec450
commit 7185d6ca0a
1 changed files with 5 additions and 0 deletions

View File

@ -59,6 +59,11 @@ endif
if get_option('r2_gittap') != ''
gittap = get_option('r2_gittap')
endif
# gittap is used for the version of each r_ library
# in case it has not been set (e.g. a release tarball) set it
if gittap == ''
gittap = r2_version
endif
if get_option('r2_gittip') != ''
gittip = get_option('r2_gittip')