udftools: fix static linking against readline
authorThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sun, 22 Apr 2018 21:20:05 +0000 (23:20 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Sun, 6 May 2018 19:52:03 +0000 (21:52 +0200)
commitbe8cea224e2122f12e95e4dc2a02c63dd6db1c4e
tree8dde941f3002c6b2acfbccba3ef7b301710ce347
parenta2d07f1be6b8667c83bdcdbc9fc2af7596b1be10
udftools: fix static linking against readline

One program of udftools uses the readline library, but fails to build
in static linking configurations. In order to fix this, we teach
udftools configure.ac to use pkg-config to detect the readline
library, and to use the proper flags provided by pkg-config.

This obviously requires an autoreconf of the package, and the addition
of host-pkgconf in the dependencies.

Fixes:

  http://autobuild.buildroot.net/results/113a94049d89b8f065112e5d4482667a7b7fb843/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/udftools/0002-configure.ac-detect-readline-via-pkg-config-when-pos.patch [new file with mode: 0644]
package/udftools/udftools.mk