]> gitweb.factorcode.org Git - factor.git/commitdiff
gdbm.ffi: Use find-library-from-list because nobody can agree on what to
authorDoug Coleman <doug.coleman@gmail.com>
Tue, 8 Jul 2014 17:23:11 +0000 (12:23 -0500)
committerDoug Coleman <doug.coleman@gmail.com>
Tue, 8 Jul 2014 17:23:11 +0000 (12:23 -0500)
name the gdbm dll.

extra/gdbm/ffi/ffi.factor

index 06f96aceeb0769ff98ed6c177ee51ac8411e3604..ba22b8153ee44f8f1372d4d8323fb9dcd8efa665 100755 (executable)
@@ -5,7 +5,7 @@ alien.syntax classes.struct combinators kernel system ;
 IN: gdbm.ffi
 
 << "libgdbm"
-os windows? [ "gdbm3.dll" ] [ "gdbm" find-library ] if
+{ "gdbm" "gdbm3" "libgdbm-3" } find-library-from-list
 cdecl add-library >>
 
 LIBRARY: libgdbm