Skip to content

Commit

Permalink
build: Allow using system xxhash
Browse files Browse the repository at this point in the history
  • Loading branch information
abouvier authored and mborgerson committed Jun 26, 2022
1 parent 83e16c9 commit 63f4839
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -2268,6 +2268,7 @@ util_ss.add_all(trace_ss)
util_ss = util_ss.apply(config_all, strict: false)
libqemuutil = static_library('qemuutil',
sources: util_ss.sources() + stub_ss.sources() + genh,
include_directories: 'util/xxHash',
dependencies: [util_ss.dependencies(), libm, threads, glib, socket, malloc, pixman])
qemuutil = declare_dependency(link_with: libqemuutil,
sources: genh + version_res)
Expand Down
2 changes: 1 addition & 1 deletion util/fast-hash.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#include "qemu/fast-hash.h"
#include "util/xxHash/xxh3.h"
#include <xxh3.h>

uint64_t fast_hash(const uint8_t *data, size_t len)
{
Expand Down

0 comments on commit 63f4839

Please sign in to comment.