summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsysinfo.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysinfo.sh b/sysinfo.sh
index 57754fe..80b5d89 100755
--- a/sysinfo.sh
+++ b/sysinfo.sh
@@ -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/' \