diff options
author | Matt Turner <mattst88@gmail.com> | 2008-11-15 04:22:28 +0000 |
---|---|---|
committer | Matt Turner <mattst88@gmail.com> | 2008-11-15 04:22:28 +0000 |
commit | bae02e62b22d6e3ec610a7b33c59259e3cf75c5f (patch) | |
tree | 7c9d2bdba526045ead6bdd725272a6cd7d1c259d | |
parent | 409b0eea3b41f02e402346c48b765ea8693c19e4 (diff) |
Hack it to detect glibc on Linux
git-svn-id: svn://mattst88.com/svn/cleanbench/trunk@57 0d43b9a7-5ab2-4d7b-af9d-f64450cef757
-rwxr-xr-x | sysinfo.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -24,7 +24,7 @@ else gccversion="$1" fi -libcversion="" +libcversion=`/lib/libc.so.6 | head -n 1` if ($* hello.c -o hello) >/dev/null 2>&1; then ldd_output=`(ldd hello) 2>&1` libcversion=`echo $ldd_output | sed -e 's/.*static.*/static/' \ |