| Summary: | Busybox static build fails due to missing libtirpc | ||
|---|---|---|---|
| Product: | buildroot | Reporter: | Pete Morici <pmorici> |
| Component: | Other | Assignee: | unassigned |
| Status: | RESOLVED WORKSFORME | ||
| Severity: | normal | CC: | buildroot |
| Priority: | P5 | ||
| Version: | 2019.02.2 | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Host: | Target: | ||
| Build: | |||
|
Description
Pete Morici
2019-05-10 03:59:54 UTC
This is not a bug. By default Buildroot has the option BR2_SHARED_LIBS=y, which means "build only shared libraries, link everything dynamically". If you set BR2_STATIC_LIBS=y instead, then only static libraries will be built, and everything will be statically linked. If you set BR2_SHARED_STATIC_LIBS=y, then both static and shared libraries will be built (when possible: some sub-par build systems only allow building either static or shared libs, not both), and programs will generally be linked dynamically, unless their build system explicitly links statically. |