Index: configure
--- configure.orig
+++ configure
@@ -5807,7 +5807,7 @@ if ${ac_cv_lib_ft_main+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
-LIBS="-lft  $LIBS"
+LIBS="-L${LOCALBASE}/lib -lft  $LIBS"
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
