meson: Do not export private headers in libzstd_dep to avoid name clash
This way libzstd_dep does not override, for instance, <xxhash.h>
This commit is contained in:
1 parent
984d11a4d1
commit
d2d49a1161
1 file changed
+1
-1
@@ -124,7 +124,7 @@ libzstd = library('zstd',
|
||||
version: zstd_libversion)
|
||||
|
||||
libzstd_dep = declare_dependency(link_with: libzstd,
|
||||
include_directories: libzstd_includes)
|
||||
include_directories: join_paths(zstd_rootdir,'lib')) # Do not expose private headers
|
||||
|
||||
# we link to both:
|
||||
# - the shared library (for public symbols)
|
||||
|
||||
Reference in new issue
Block a user