[libxml2] Fix Broken multi-arch support in xml2-config



commit 8123c4f692c4ba5f64b3c35297c2579c93b8011b
Author: Daniel Veillard <veillard redhat com>
Date:   Thu Nov 8 16:24:07 2012 +0800

    Fix Broken multi-arch support in xml2-config
    
    partial revert of 87b4d6f6105658a99b976f812223c8edf4469265
    coming from Fedora/RHEL/... but breaking other distros
    as pointed out by Daniel Richard

 xml2-config.in |    7 +------
 1 files changed, 1 insertions(+), 6 deletions(-)
---
diff --git a/xml2-config.in b/xml2-config.in
index 5453ab2..1957486 100644
--- a/xml2-config.in
+++ b/xml2-config.in
@@ -3,12 +3,7 @@
 prefix= prefix@
 exec_prefix= exec_prefix@
 includedir= includedir@
-if [ "`ldd /bin/sh | grep lib64`" = "" ]
-then
-    libdir=${exec_prefix}/lib
-else
-    libdir=${exec_prefix}/lib64
-fi
+libdir= libdir@
 
 usage()
 {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]