diff --git a/configure.ac b/configure.ac index 87da55da2..f58091cc1 100644 --- a/configure.ac +++ b/configure.ac @@ -472,7 +472,7 @@ AC_DEFUN([EL_CHECK_OPTIONAL_LIBRARY], if test "[$]$1" = yes; then EL_CONFIG([$1], [$2]) - LIBS="$LIBS -l$4" + LIBS="-l$4 $LIBS" else if test -n "[$]WITHVAL_$1" && test "x[$]WITHVAL_$1" != xno; then