mirror of
https://github.com/radareorg/radare2.git
synced 2025-02-17 04:39:36 +00:00
Simplify meson.build and fix generation of r_userconf.h
This commit is contained in:
parent
2ffd4b305a
commit
5e620c9391
@ -345,6 +345,7 @@ userconf.set10('HAVE_LIB_MAGIC', sys_magic.found())
|
||||
userconf.set10('USE_LIB_MAGIC', use_syslib_magic)
|
||||
userconf.set10('HAVE_LIB_XXHASH', sys_xxhash.found())
|
||||
userconf.set10('USE_LIB_XXHASH', use_sys_xxhash)
|
||||
userconf.set10('HAVE_LINUX_CAN_H', 0)
|
||||
userconf.set10('DEBUGGER', has_debugger)
|
||||
userconf.set('ETCDIR', join_paths(r2_prefix, 'etc'))
|
||||
userconf.set('PREFIX', r2_prefix)
|
||||
@ -359,11 +360,7 @@ else
|
||||
userconf.set('DATADIR_R2', r2_datdir_r2)
|
||||
userconf.set10('HAVE_JEMALLOC', true)
|
||||
endif
|
||||
if get_option('static_themes')
|
||||
userconf.set('WITH_STATIC_THEMES', 1)
|
||||
else
|
||||
userconf.set('WITH_STATIC_THEMES', 0)
|
||||
endif
|
||||
userconf.set('WITH_STATIC_THEMES', get_option('static_themes'))
|
||||
|
||||
userconf.set('DATADIR', join_paths(r2_prefix, r2_datdir))
|
||||
userconf.set('WWWROOT', join_paths(r2_prefix, r2_wwwroot))
|
||||
|
Loading…
x
Reference in New Issue
Block a user