build-sys: remove duplicate includes
Signed-off-by: Karel Zak <kzak@redhat.com>
This commit is contained in:
parent
ac17a625ce
commit
4af92de983
|
@ -7,7 +7,6 @@
|
|||
#endif
|
||||
|
||||
#include "fdiskP.h"
|
||||
#include "strutils.h"
|
||||
|
||||
/**
|
||||
* SECTION: partition
|
||||
|
|
|
@ -27,7 +27,6 @@
|
|||
#include <sys/types.h>
|
||||
#include <sys/wait.h>
|
||||
#include <termios.h>
|
||||
#include <unistd.h>
|
||||
#include <paths.h>
|
||||
|
||||
#include "c.h"
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue