Add Boost and libarchive to libutil's public dependencies

Fixes missing include compilation errors.

Boost is included from lix/libutil/result.hh,
libarchive is included from lix/libutil/tarfile.hh

Change-Id: Id0000000e01fc695545d7ef83589ab7c41a92b61
This commit is contained in:
Katalin Rebhan
2025-05-03 23:16:48 +02:00
parent 643b9f3c62
commit ca8d738df4
+4
View File
@@ -338,9 +338,11 @@ liblixutil = declare_dependency(
libutil_settings_headers,
],
dependencies: [
boost,
# Everything has to link to kj if it uses libutil internally (ensured by
# lix-base pkg-config externally)
kj,
libarchive,
],
link_with : libutil
)
@@ -355,9 +357,11 @@ if is_static
libutil_settings_headers,
],
dependencies: [
boost,
# Everything has to link to kj if it uses libutil internally (ensured by
# lix-base pkg-config externally)
kj,
libarchive,
],
link_whole : libutil,
)