Skip to content

Fix udftools in static linking scenarios

Thomas Petazzoni buildroot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3udftool: add missing dependency on readlinepackage/udftools/udftools.mk+1 -01 reply
2/3readline: install a .pc filepackage/readline/0001-configure.ac-readline.pc.in-fix-Requires.private-val.patch package/readline/readline.mk+77 -21 reply
2/3readline: install a .pc file+0 -00 replies
3/3udftools: fix static linking against readlinepackage/udftools/0002-configure.ac-detect-readline-via-pkg-config-when-pos.patch package/udftools/udftools.mk+62 -11 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Buildroot] [PATCH 0/3] Fix udftools in static linking scenarios

Hello,

This set of 3 patches aim at fixing the build of udftools in static linking scenarios.

The first patch is a somewhat unrelated fix, which is really trivial, and not specific to static linking.

The second patch fixes the readline package to install a pkg-config file.

The third patch fixes the udftools package to use the readline pkg-config file.

The overall solution is I believe the most correct one (use a pkg-config file), but is admittedly a bit complex and requires to autoreconf two more packages. If people don't like it, I'll be happy to change it to just pass "-lncurses" when building udftools, which would achieve the same effect.

Thanks,

Thomas

Thomas Petazzoni (3):
udftool: add missing dependency on readline
readline: install a .pc file
udftools: fix static linking against readline

 ...c-readline.pc.in-fix-Requires.private-val.patch | 62 ++++++++++++++++++++++
 package/readline/readline.mk                       | 17 +++++-
 ...c-detect-readline-via-pkg-config-when-pos.patch | 60 +++++++++++++++++++++
 package/udftools/udftools.mk                       |  2 +
 4 files changed, 139 insertions(+), 2 deletions(-)
 create mode 100644 package/readline/0001-configure.ac-readline.pc.in-fix-Requires.private-val.patch
 create mode 100644 package/udftools/0002-configure.ac-detect-readline-via-pkg-config-when-pos.patch
Signature · 1 line
2.14.3