File: 0001-Fix-Check-for-libsasl-in-the-multiarch-path.patch

package info (click to toggle)
php-sasl 0.1.0-3
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 152 kB
  • ctags: 82
  • sloc: ansic: 518; xml: 42; makefile: 10
file content (23 lines) | stat: -rw-r--r-- 777 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
From: gregor herrmann <gregoa@debian.org>
Date: Wed, 14 Sep 2011 17:41:51 +0200
Subject: Fix "Check for libsasl in the multiarch path"

Add patch from Ubuntu / Steve Langasek
Bug-Debian: http://bugs.debian.org/638053
---
 sasl-0.1.0/config.m4 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sasl-0.1.0/config.m4 b/sasl-0.1.0/config.m4
index bc41856..89e9479 100755
--- a/sasl-0.1.0/config.m4
+++ b/sasl-0.1.0/config.m4
@@ -31,7 +31,7 @@ if test "$PHP_SASL" != "no"; then
 
   AC_MSG_CHECKING(for SASL library in $SASL_DIR/lib)
   for i in $SEARCH_LIBS; do
-    if test -r $SASL_DIR/lib/lib$i.a; then
+    if test -r $SASL_DIR/lib/lib$i.a || test -r $SASL_DIR/lib/$DEB_HOST_MULTIARCH/lib$i.a; then
       SASL_LIB=$i
       AC_MSG_RESULT(found -l$i)
     fi