mirror of
https://github.com/radareorg/radare2.git
synced 2025-01-22 13:51:30 +00:00
Improve the xxhash system library detection ##build
The pkgconfig module is named libxxhash on Debian/Fedora/RedHat/SuSE/Arch so I added libxxhash on first place. Keeping the xxhash checked second.
This commit is contained in:
parent
385925a37e
commit
bc3fe4a302
@ -234,8 +234,11 @@ if sys_magic.found() and get_option('use_sys_magic')
|
||||
endif
|
||||
|
||||
# handle xxhash library
|
||||
sys_xxhash = dependency('xxhash', required: false)
|
||||
sys_xxhash = dependency('libxxhash', required: false)
|
||||
use_sys_xxhash = false
|
||||
if not sys_xxhash.found()
|
||||
sys_xxhash = dependency('xxhash', required: false)
|
||||
endif
|
||||
if not sys_xxhash.found()
|
||||
sys_xxhash = cc.find_library('xxhash', required: false)
|
||||
endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user