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

Thomas Petazzoni thomas.petazzoni at bootlin.com
Sun Apr 22 21:20:02 UTC 2018


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

-- 
2.14.3



More information about the buildroot mailing list