[glom] Strip -L/usr/lib64 from PYTHON_LIBS



commit 83e526cf02e9b29f0458fc5ab2a0d4a92f119ade
Author: Daniel Elstner <danielk openismus com>
Date:   Sun Jul 26 00:59:31 2009 +0200

    Strip -L/usr/lib64 from PYTHON_LIBS
    
    * macros/mm-python.m4 (MM_CHECK_MODULE_PYTHON): Do not omit -L from
    ${PYTHON_LIBS} for the /usr/local/lib directory.  However, do strip
    the flag for /usr/lib64 in addition to /usr/lib.

 macros/mm-python.m4 |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/macros/mm-python.m4 b/macros/mm-python.m4
index 3529341..835d813 100644
--- a/macros/mm-python.m4
+++ b/macros/mm-python.m4
@@ -67,7 +67,7 @@ AS_IF([test "x$PYTHON_LIBS" = x],
   do
     AS_IF([test -f "$mm_dir/lib$mm_pylib.so" || \
            test -f "$mm_dir/lib$mm_pylib.a"],
-          [AS_CASE([$mm_dir], [/usr/lib|/usr/local/lib],
+          [AS_CASE([$mm_dir], [[/usr/lib|/usr/lib64]],
                    [PYTHON_LIBS="$PYTHON_LIBS -l$mm_pylib"; break],
                    [PYTHON_LIBS="$PYTHON_LIBS -L$mm_dir -l$mm_pylib"; break])],
           [test -f "$mm_dir/lib$mm_pylib_win.dll.a" || \



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