tweag / clodl

Turn dynamically linked ELF binaries and libraries into self-contained closures.
BSD 3-Clause "New" or "Revised" License
164 stars 6 forks source link

Closure of a cc_library fails to build #26

Open facundominguez opened 5 years ago

facundominguez commented 5 years ago

cc_library doesn't link the dependencies into the library, which makes relying on ldd insuficient to find the dependencies. We will have to see how to find them. Failing that we could ask the user to link them into a cc_binary before using library_closure.

Some related discussion here: https://github.com/bazelbuild/bazel/issues/492