alien.libraries.finder.linux: Remove tags like "OS ABI: Linux 2.6.24" from the ``ldconfig -p`` output.

db4
Doug Coleman 2014-06-17 14:13:06 -07:00
parent 125f64a72f
commit 96f2561b42
1 changed files with 4 additions and 1 deletions

View File

@ -17,7 +17,10 @@ CONSTANT: mach-map {
: parse-ldconfig-lines ( string -- triple )
[
"=>" split1 [ [ blank? ] trim ] bi@
[ " " split1 [ "()" in? ] trim "," split ] dip 3array
[
" " split1 [ "()" in? ] trim "," split
[ "OS ABI:" head? not ] filter
] dip 3array
] map ;
: load-ldconfig-cache ( -- seq )