]> gitweb.factorcode.org Git - factor.git/commitdiff
alien.libraries.finder.linux: Remove tags like "OS ABI: Linux 2.6.24" from the `...
authorDoug Coleman <doug.coleman@gmail.com>
Tue, 17 Jun 2014 21:13:06 +0000 (14:13 -0700)
committerDoug Coleman <doug.coleman@gmail.com>
Tue, 17 Jun 2014 21:13:06 +0000 (14:13 -0700)
basis/alien/libraries/finder/linux/linux.factor

index 3bb38991319a9d22d10b592f666796cc07278c39..c128cf17d809cbf9690d6c4fa22962f35fbfe59a 100644 (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 )