meson: fix the build-date option

Rewrites are hard.
This commit is contained in:
Dudemanguy 2022-08-16 11:41:52 -05:00
parent 8e9c5b7b66
commit 813164cc07
1 changed files with 1 additions and 1 deletions

View File

@ -320,7 +320,7 @@ endif
features += {'noexecstack': noexecstack}
features += {'build-date': get_option('build-date')}
if features['build-date']
if not features['build-date']
flags += '-DNO_BUILD_TIMESTAMPS'
endif