package/pure-ftpd: add optional support for elfutils
authorBernd Kuhls <bernd.kuhls@t-online.de>
Sun, 21 Feb 2016 09:50:07 +0000 (10:50 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 21 Feb 2016 11:41:06 +0000 (12:41 +0100)
commit34c58907f69e425cd9d391bb28b83165a80b7d39
tree0b0444ff15fc227004ba24477a2ab0263a644572
parent5280efe34f198bf0a5580bb976ba24ca9669cca4
package/pure-ftpd: add optional support for elfutils

When elfutils was compiled before, pure-ftpd will use it as optional
dependency:

$ output/host/usr/bin/x86_64-linux-readelf -a output/target/usr/sbin/pure-ftpd | grep NEEDED
 0x0000000000000001 (NEEDED)             Shared library: [libelf.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libcrypt.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libc.so.1]

The build system offers no option to en-/disable elfutils support,
check m4/getloadavg.m4, line 44.

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