alien.libraries: Normalize the path before opening a dll since
find-library can return paths that have "resource:" in them.db4
parent
07aa2831a2
commit
05aabb13f4
|
@ -26,6 +26,7 @@ ERROR: no-library name ;
|
|||
: lookup-library ( name -- library ) libraries get at ;
|
||||
|
||||
: open-dll ( path -- dll dll-error/f )
|
||||
normalize-path
|
||||
[ dlopen dup dll-valid? [ f ] [ dlerror ] if ]
|
||||
[ f f ] if* ;
|
||||
|
||||
|
|
Loading…
Reference in New Issue