summaryrefslogtreecommitdiff
path: root/devel/libtool/patches/patch-ai
blob: 52a051de656fec00087a9a9547e9dfb928e82bce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$NetBSD: patch-ai,v 1.3 2002/03/21 09:00:13 skrll Exp $

--- cdemo/configure.orig	Wed Mar 20 10:42:55 2002
+++ cdemo/configure
@@ -1497,9 +1497,9 @@
 
 netbsd*)
   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
-    lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
+    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$$'
   else
-    lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
+    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$$'
   fi
   ;;