]> gitweb.factorcode.org Git - factor.git/commitdiff
alien.libraries.finder.linux: use third element which is file name.
authorJohn Benediktsson <mrjbq7@gmail.com>
Sun, 17 Nov 2013 00:48:22 +0000 (16:48 -0800)
committerJohn Benediktsson <mrjbq7@gmail.com>
Sun, 17 Nov 2013 00:48:22 +0000 (16:48 -0800)
basis/alien/libraries/finder/linux/linux.factor

index 30f730426fc368f85976cb4bc2c34bf924e575a7..f85946ffd9ed11a36b1b845653a9522521380960 100644 (file)
@@ -26,7 +26,7 @@ CONSTANT: mach-map {
     [ start 0 = ] [ ldconfig-filter = ] bi* and ;
 
 : ldconfig-find-soname ( lib -- seq )
-    ldconfig-cache [ first2 ldconfig-matches? ] with filter [ first ] map ;
+    ldconfig-cache [ first2 ldconfig-matches? ] with filter [ third ] map ;
 
 PRIVATE>