configure.ac: remove hardcoded path for libiberty.a to fix x86_64 build
This commit is contained in:
parent
18125eed10
commit
dd2ec3fdb1
@ -212,7 +212,7 @@ AC_CHECK_HEADERS([libiberty.h], [],
|
|||||||
[AC_MSG_ERROR([Can't find libiberty.h in your system,]
|
[AC_MSG_ERROR([Can't find libiberty.h in your system,]
|
||||||
[check http://www.gnu.org/software/binutils/binutils.html for libiberty])])
|
[check http://www.gnu.org/software/binutils/binutils.html for libiberty])])
|
||||||
AC_CHECK_LIB(iberty, freeargv,
|
AC_CHECK_LIB(iberty, freeargv,
|
||||||
[LIBS="$LIBS -liberty /usr/lib/libiberty.a"
|
[LIBS="$LIBS -liberty"
|
||||||
AC_DEFINE(HAVE_LIBIBERTY,1,
|
AC_DEFINE(HAVE_LIBIBERTY,1,
|
||||||
[Define to 1 if you have the `libiberty' library (-liberty).])],
|
[Define to 1 if you have the `libiberty' library (-liberty).])],
|
||||||
[AC_MSG_ERROR([Can't find libiberty in your system,]
|
[AC_MSG_ERROR([Can't find libiberty in your system,]
|
||||||
|
Loading…
Reference in New Issue
Block a user