summaryrefslogtreecommitdiffstats
path: root/acinclude.m4
diff options
context:
space:
mode:
authorMax Krasnyansky <maxk@qualcomm.com>2002-10-10 18:29:12 +0000
committerMax Krasnyansky <maxk@qualcomm.com>2002-10-10 18:29:12 +0000
commita92838eca1015b435ad9f10acd2868793055d063 (patch)
tree27dcfb51f5055e9fcdd289fc908535d51e655f3d /acinclude.m4
parent3f1417ff2d1e3fc91ae02c63cfb10eb1f50167cd (diff)
Use original path when libtoolized library not found.
Diffstat (limited to 'acinclude.m4')
-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"