From 45af0bc563e700820abd3e64f8d8559ce3bc2a8a Mon Sep 17 00:00:00 2001 From: John Benediktsson Date: Sat, 16 Nov 2013 16:09:21 -0800 Subject: [PATCH] alien.libraries.finder.linux: dont use dlopen. --- basis/alien/libraries/finder/linux/linux.factor | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/basis/alien/libraries/finder/linux/linux.factor b/basis/alien/libraries/finder/linux/linux.factor index 97c8e1c3c8..4281c4e69c 100644 --- a/basis/alien/libraries/finder/linux/linux.factor +++ b/basis/alien/libraries/finder/linux/linux.factor @@ -31,6 +31,6 @@ CONSTANT: mach-map { PRIVATE> M: linux find-library - "lib" ".so" surround ldconfig-find-soname - [ dlopen dll-valid? ] map-find nip ; - + "lib" ".so" surround ldconfig-find-soname [ + { [ exists? ] [ file-info regular-file? ] } 1&& + ] map-find nip ;