summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--acinclude.m42
1 files changed, 2 insertions, 0 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index cca660ee..a2fa7784 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -76,6 +76,8 @@ AC_DEFUN([AC_SEARCH_LIB],
# Check for libtool library
if test -f $p/lib$1.la; then
path=$p/.libs
+ else
+ path=$p
fi
LDFLAGS="-L$path -l$1"