build-sys: remove duplicate includes

Signed-off-by: Karel Zak <kzak@redhat.com>
This commit is contained in:
Karel Zak 2019-12-10 13:50:18 +01:00
parent ac17a625ce
commit 4af92de983
3 changed files with 1 additions and 3 deletions

View File

@ -7,7 +7,6 @@
#endif
#include "fdiskP.h"
#include "strutils.h"
/**
* SECTION: partition

View File

@ -27,7 +27,6 @@
#include <sys/types.h>
#include <sys/wait.h>
#include <termios.h>
#include <unistd.h>
#include <paths.h>
#include "c.h"

View File

@ -36,7 +36,7 @@ for conf in $config_gen_dir/config-gen.d/*.conf; do
for b in $bins; do
libs=$(readelf --dynamic $b 2> /dev/null | \
awk '/NEEDED/ { print $5 }' | \
sed 's:\[::g; s:\..*::g; s:libc::g; s:ld\-.*::g' | \
sed 's:\[::g; s:\..*::g; s:^libc$::g; s:ld\-.*::g' | \
sort -u | tr '\n' ' ')
if [ -n "$libs" ]; then