search resource: for unix libraries too

Joe Groff 2010-02-16 14:24:29 -08:00
parent 44b291de33
commit 99f1fa4018
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ IN: tools.deploy.libraries.unix
M: unix find-library-file
dup absolute-path? [ ?exists ] [
{ "/lib" "/usr/lib" "/usr/local/lib" }
{ "/lib" "/usr/lib" "/usr/local/lib" "/opt/local/lib" "resource:" }
[ prepend-path ?exists ] with map-find drop
] if ;