fix(3p/nix): Link nixutil to its dependencies
nixutil depends on bzip2, lzma, boost::context, brotli{enc,dec}, and
openssl, but wasn't directly linking to them. This was causing linker
errors in a test that only depended on nixutil.
Change-Id: I60e77ea7b18b08e2946fcf9176ae0f355cd71844
Reviewed-on: https://cl.tvl.fyi/c/depot/+/1384
Tested-by: BuildkiteCI
Reviewed-by: kanepyork <rikingcoding@gmail.com>
This commit is contained in:
parent
6bdd191cbf
commit
280ec4a46c
2 changed files with 6 additions and 5 deletions
5
third_party/nix/src/libstore/CMakeLists.txt
vendored
5
third_party/nix/src/libstore/CMakeLists.txt
vendored
|
|
@ -91,14 +91,9 @@ target_link_libraries(nixstore
|
||||||
nixproto
|
nixproto
|
||||||
nixutil
|
nixutil
|
||||||
|
|
||||||
BZip2::BZip2
|
|
||||||
Boost::context
|
|
||||||
CURL::libcurl
|
CURL::libcurl
|
||||||
LibLZMA::LibLZMA
|
|
||||||
SQLite::SQLite3
|
SQLite::SQLite3
|
||||||
absl::strings
|
absl::strings
|
||||||
brotlidec
|
|
||||||
brotlienc
|
|
||||||
glog
|
glog
|
||||||
seccomp
|
seccomp
|
||||||
sodium
|
sodium
|
||||||
|
|
|
||||||
6
third_party/nix/src/libutil/CMakeLists.txt
vendored
6
third_party/nix/src/libutil/CMakeLists.txt
vendored
|
|
@ -49,6 +49,12 @@ target_sources(nixutil
|
||||||
target_link_libraries(nixutil
|
target_link_libraries(nixutil
|
||||||
absl::strings
|
absl::strings
|
||||||
glog
|
glog
|
||||||
|
BZip2::BZip2
|
||||||
|
LibLZMA::LibLZMA
|
||||||
|
Boost::context
|
||||||
|
brotlienc
|
||||||
|
brotlidec
|
||||||
|
ssl
|
||||||
)
|
)
|
||||||
|
|
||||||
# Install header files to include/libutil and mark them for automatic
|
# Install header files to include/libutil and mark them for automatic
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue