libctf: remove unnecessary zlib constructs
This dependency is managed via libtool. So explicit addition to LDFLAGS and LIBS is not necessary anymore. ChangeLog: * libctf/configure: Regenerated. * libctf/configure.ac: remove zlib from LDFLAGS and LIBS.
This commit is contained in:
parent
b99ceddc91
commit
78eb490c2c
2 changed files with 4 additions and 6 deletions
5
libctf/configure
vendored
5
libctf/configure
vendored
|
@ -14579,10 +14579,9 @@ OLD_CC=$CC
|
|||
# always want our bfd.
|
||||
CC="./libtool --quiet --mode=link $OLD_CC"
|
||||
CFLAGS="-I${srcdir}/../include -I../bfd -I${srcdir}/../bfd $CFLAGS"
|
||||
ZLIBDIR=`echo $zlibdir | sed 's,\$(top_builddir)/,,g'`
|
||||
LDFLAGS="-L../bfd -L../libiberty $ZLIBDIR $LDFLAGS"
|
||||
LDFLAGS="-L../bfd -L../libiberty $LDFLAGS"
|
||||
intl=`echo $LIBINTL | sed 's,${top_builddir}/,,g'`
|
||||
LIBS="-lbfd -liberty -lz $ZSTD_LIBS $intl $LIBS"
|
||||
LIBS="-lbfd -liberty $ZSTD_LIBS $intl $LIBS"
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELF support in BFD" >&5
|
||||
$as_echo_n "checking for ELF support in BFD... " >&6; }
|
||||
if ${ac_cv_libctf_bfd_elf+:} false; then :
|
||||
|
|
|
@ -90,10 +90,9 @@ OLD_CC=$CC
|
|||
# always want our bfd.
|
||||
CC="./libtool --quiet --mode=link $OLD_CC"
|
||||
CFLAGS="-I${srcdir}/../include -I../bfd -I${srcdir}/../bfd $CFLAGS"
|
||||
ZLIBDIR=`echo $zlibdir | sed 's,\$(top_builddir)/,,g'`
|
||||
LDFLAGS="-L../bfd -L../libiberty $ZLIBDIR $LDFLAGS"
|
||||
LDFLAGS="-L../bfd -L../libiberty $LDFLAGS"
|
||||
intl=`echo $LIBINTL | sed 's,${top_builddir}/,,g'`
|
||||
LIBS="-lbfd -liberty -lz $ZSTD_LIBS $intl $LIBS"
|
||||
LIBS="-lbfd -liberty $ZSTD_LIBS $intl $LIBS"
|
||||
AC_CACHE_CHECK([for ELF support in BFD], ac_cv_libctf_bfd_elf,
|
||||
[AC_TRY_LINK([#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue