summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorjmcneill <jmcneill@pkgsrc.org>2008-12-14 16:34:24 +0000
committerjmcneill <jmcneill@pkgsrc.org>2008-12-14 16:34:24 +0000
commit49a9b9816dbb6656d0df9e1535f179f3fa8ce5fa (patch)
treeddad553673998418d87ec5ca1bf909021a3e7fd4 /mk
parentc3761918f802718d48b3e1fcfd0b411fdfa24ed7 (diff)
downloadpkgsrc-49a9b9816dbb6656d0df9e1535f179f3fa8ce5fa.tar.gz
Add /usr/lib${LIBABISUFFIX} to the search path
Diffstat (limited to 'mk')
-rw-r--r--mk/buildlink3/find-libs.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/mk/buildlink3/find-libs.mk b/mk/buildlink3/find-libs.mk
index b0022893368..63dee33443e 100644
--- a/mk/buildlink3/find-libs.mk
+++ b/mk/buildlink3/find-libs.mk
@@ -1,4 +1,4 @@
-# $NetBSD: find-libs.mk,v 1.3 2005/07/15 18:27:55 jlam Exp $
+# $NetBSD: find-libs.mk,v 1.4 2008/12/14 16:34:24 jmcneill Exp $
#
# Copyright (c) 2005 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -66,6 +66,8 @@ BUILTIN_LIB_FOUND.${_lib_}!= \
${ECHO} yes; \
elif ${TEST} "`${ECHO} /lib${ABI}/lib${_lib_}.*`" != "/lib${ABI}/lib${_lib_}.*"; then \
${ECHO} yes; \
+ elif ${TEST} "`${ECHO} /usr/lib${LIBABISUFFIX}/lib${_lib}.*`" != "/usr/lib${LIBABISUFFIX}/lib${_lib_}.*"; then \
+ ${ECHO} yes; \
else \
${ECHO} no; \
fi