build: always define needs_service_access

This commit is contained in:
Christian Hergert
2022-07-22 12:04:51 -07:00
parent 0dc0a5b3de
commit fa7580f60f

View File

@ -197,10 +197,7 @@ int main(void) {
config_h.set10('HAVE_STDATOMIC_H', true)
endif
if get_option('libsysprof') or get_option('agent')
needs_service_access = true
endif
needs_service_access = get_option('libsysprof') or get_option('agent')
if needs_service_access or get_option('sysprofd') == 'bundled'
install_service_files = true
endif