From 8e3d4f24b76d9f9be412b2f82c0faa6475fb5330 Mon Sep 17 00:00:00 2001 From: Tomek Mrugalski Date: Mon, 26 Jul 2021 10:49:30 +0200 Subject: [#1077] Fixed *_LIBS variables --- m4macros/ax_find_library.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'm4macros') 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}"]) -- cgit v1.2.3