configure.ac: remove hardcoded path for libiberty.a to fix x86_64 build

This commit is contained in:
Silvan Calarco 2013-01-06 14:53:54 +01:00
parent 18125eed10
commit dd2ec3fdb1

View File

@ -212,7 +212,7 @@ AC_CHECK_HEADERS([libiberty.h], [],
[AC_MSG_ERROR([Can't find libiberty.h in your system,]
[check http://www.gnu.org/software/binutils/binutils.html for libiberty])])
AC_CHECK_LIB(iberty, freeargv,
[LIBS="$LIBS -liberty /usr/lib/libiberty.a"
[LIBS="$LIBS -liberty"
AC_DEFINE(HAVE_LIBIBERTY,1,
[Define to 1 if you have the `libiberty' library (-liberty).])],
[AC_MSG_ERROR([Can't find libiberty in your system,]