summaryrefslogtreecommitdiffstats
path: root/m4macros/ax_find_library.m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4macros/ax_find_library.m4')
-rw-r--r--m4macros/ax_find_library.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/m4macros/ax_find_library.m4 b/m4macros/ax_find_library.m4
index 6209409fe9..66d73571b8 100644
--- a/m4macros/ax_find_library.m4
+++ b/m4macros/ax_find_library.m4
@@ -93,7 +93,7 @@ AC_DEFUN([AX_FIND_LIBRARY], [
LIBRARY_INCLUDEDIR="-I${p}/include"
fi
- LIBRARY_LIBS="-L${i}/lib -Wl,-rpath=${i}/lib"
+ LIBRARY_LIBS="-L${p}/lib -Wl,-rpath=${p}/lib"
for i in ${list_of_libraries}; do
if test ! -f "${p}/lib/${i}"; then
AC_MSG_WARN(["${library}" libraries not found in "${p}"])