alien.libraries.finder.linux: Remove tags like "OS ABI: Linux 2.6.24" from the ``ldconfig -p`` output.
parent
125f64a72f
commit
96f2561b42
|
@ -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 )
|
||||
|
|
Loading…
Reference in New Issue