package/lftp: add optional support for expat
authorBernd Kuhls <bernd.kuhls@t-online.de>
Sat, 20 Feb 2016 23:27:31 +0000 (00:27 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 21 Feb 2016 11:23:25 +0000 (12:23 +0100)
commit91889c19bea220907620c1c40a1869933153a1d0
tree9adaac471defe831492d6778080cd3993b8ebf68
parent797f906ba345fb828cb05aef2404c388a5bfa33b
package/lftp: add optional support for expat

When expat was compiled before, the proto-http module will use it as
optional dependency:

$ output/host/usr/bin/x86_64-linux-readelf -a output/target/usr/lib/lftp/4.6.4/proto-http.so | grep NEEDED | sort
 0x0000000000000001 (NEEDED)             Shared library: [libcrypto.so.1.0.0]
 0x0000000000000001 (NEEDED)             Shared library: [libc.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libdl.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libexpat.so.1]
[...]

The build system offers no option to en-/disable expat support:
https://github.com/lavv17/lftp/blob/lftp-4.6-stable/configure.ac#L337

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/lftp/lftp.mk