diff --git a/extra/pcre/ffi/ffi.factor b/extra/pcre/ffi/ffi.factor index 3bba6dc95b..772486373b 100644 --- a/extra/pcre/ffi/ffi.factor +++ b/extra/pcre/ffi/ffi.factor @@ -1,17 +1,14 @@ USING: - alien alien.c-types alien.data alien.libraries alien.syntax + alien alien.c-types alien.data + alien.libraries alien.libraries.finder + alien.syntax classes.struct combinators + kernel system ; IN: pcre.ffi -! http://sourceforge.net/projects/gnuwin32/files/pcre/7.0/pcre-7.0-bin.zip/download - -<< "pcre" { - { [ os macosx? ] [ "libpcre.dylib" ] } - { [ os unix? ] [ "libpcre.so" ] } - { [ os windows? ] [ "pcre3.dll" ] } -} cond cdecl add-library >> +<< "pcre" dup find-library cdecl add-library >> LIBRARY: pcre