diff options
Diffstat (limited to 'm4macros')
-rw-r--r-- | m4macros/ax_find_library.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/m4macros/ax_find_library.m4 b/m4macros/ax_find_library.m4 index 702c4e3432..60247ad0af 100644 --- a/m4macros/ax_find_library.m4 +++ b/m4macros/ax_find_library.m4 @@ -144,7 +144,7 @@ AC_DEFUN([AX_FIND_LIBRARY], [ # Add to the runtime search path if the flag is not already added. if test -n "${ISC_RPATH_FLAG}" && test "$(printf '%s\n' "${LIBRARY_LIBS}" | grep -Fc -- "${ISC_RPATH_FLAG}")" = 0; then - library_location=$(printf '%s\n' "${LIBRARY_LIBS}" | grep -Eo '\-L.*\b' | sed 's/-L//g') + library_location=$(printf '%s\n' "${LIBRARY_LIBS}" | grep -Eo -- '-L.*\b' | sed 's/-L//g') if test -n "${library_location}"; then LIBRARY_LIBS="${LIBRARY_LIBS} ${ISC_RPATH_FLAG}${library_location}" fi |