]> git.pld-linux.org Git - packages/asterisk.git/commitdiff
- avoid /usr/lib poison on lib64 systems
authorElan Ruusamäe <glen@pld-linux.org>
Thu, 31 Dec 2009 18:49:09 +0000 (18:49 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    lpc10-system.patch -> 1.2

lpc10-system.patch

index 8a29b6eb6a62ef807cad12e94dc0cafb70ad4a14..d0007b281d39e3fa1a341403cd8ab80b935bd61c 100644 (file)
@@ -64,7 +64,7 @@
  AST_EXT_LIB_SETUP([GTK], [gtk libraries], [gtk])
  AST_EXT_LIB_SETUP([GTK2], [gtk2 libraries], [gtk2])
  AST_EXT_LIB_SETUP([GMIME], [GMime library], [gmime])
-@@ -712,6 +713,63 @@
+@@ -712,6 +713,72 @@
     fi
  fi
  
 +AC_SUBST(LPC10_INTERNAL)
 +LPC10_SYSTEM="yes"
 +if test "${USE_LPC10}" != "no"; then
++   case "$host_cpu" in
++   x86_64|s390x)
++       _lib=lib64
++       ;;
++   *)
++       _lib=lib
++       ;;
++   esac
++
 +   if test "${LPC10_DIR}" = "internal"; then
 +      LPC10_SYSTEM="no"
 +   elif test "${LPC10_DIR}" != ""; then
@@ -80,8 +89,8 @@
 +   if test "${LPC10_SYSTEM}" = "yes"; then
 +      lpc10libdir=""
 +      if test "x${LPC10_DIR}" != "x"; then
-+         if test -d ${LPC10_DIR}/lib; then
-+            lpc10libdir="-L${LPC10_DIR}/lib"
++         if test -d ${LPC10_DIR}/${_lib}; then
++            lpc10libdir="-L${LPC10_DIR}/${_lib}"
 +         else
 +            lpc10libdir="-L${LPC10_DIR}"
 +         fi
This page took 0.506671 seconds and 4 git commands to generate.