Revision: 6978
          http://ipcop.svn.sourceforge.net/ipcop/?rev=6978&view=rev
Author:   gespinasse
Date:     2013-03-23 12:15:21 +0000 (Sat, 23 Mar 2013)
Log Message:
-----------
Fix for 64bit host where libc.a is installed in /usr/lib64
Fix display of the file found

Modified Paths:
--------------
    ipcop/trunk/make.sh

Modified: ipcop/trunk/make.sh
===================================================================
--- ipcop/trunk/make.sh 2013-03-23 12:05:15 UTC (rev 6977)
+++ ipcop/trunk/make.sh 2013-03-23 12:15:21 UTC (rev 6978)
@@ -1285,12 +1285,13 @@
        SUCCESS=$[ ${SUCCESS} - ${RESULT} ]
        report_result ${RESULT}
        # Contrary to LFS, a static libc is needed to compile a portable 
toolchain (with a static ccache)
-       echo -n "Checking static libc.a found on /usr/lib"
+       echo -n "Checking static libc.a"
        # On Centos-5.9, find /usr/lib report 'Permission denied' with 
/usr/lib/audit
        # Instead of checking for a find error, look if at least a libc.a file 
has been found.
-       local LIBC_STATIC=$(find /usr/lib -name libc.a 2>/dev/null | head -n1)
+       local LIBC_STATIC=$(find /usr/lib{,64} -name libc.a 2>/dev/null | head 
-n1)
        if [ -n "${LIBC_STATIC}" ]; then
-               beautify message " :  found ${LIBC_STATIC}" DONE
+               echo -n " :  found ${LIBC_STATIC}"
+               beautify message DONE
        else
                beautify message FAIL
                SUCCESS=$[ ${SUCCESS} - 1 ]

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
Ipcop-svn mailing list
Ipcop-svn@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ipcop-svn

Reply via email to