]> gitweb.factorcode.org Git - factor.git/commitdiff
pcre.ffi: just use pcre.dll.
authorJohn Benediktsson <mrjbq7@gmail.com>
Sun, 22 Jan 2023 21:37:14 +0000 (13:37 -0800)
committerJohn Benediktsson <mrjbq7@gmail.com>
Sun, 22 Jan 2023 21:37:14 +0000 (13:37 -0800)
If we want to support pcre2, we need a pcre2 vocab.

extra/pcre/ffi/ffi.factor

index 6f06af7e609a2471ae26a71312fff5b5b58ea648..d44ac811ea598bc2504cce8166f964b85d553407 100644 (file)
@@ -1,10 +1,9 @@
-USING: alien alien.c-types alien.libraries
-alien.libraries.finder alien.syntax classes.struct combinators
-system ;
+USING: alien alien.c-types alien.libraries alien.syntax
+classes.struct combinators system ;
 IN: pcre.ffi
 
 << "pcre" {
-    { [ os windows? ] [ { "pcre.dll" } find-library-from-list ] }
+    { [ os windows? ] [ "pcre.dll" ] }
     { [ os macosx? ] [ "libpcre.dylib" ] }
     { [ os unix? ] [ "libpcre.so" ] }
 } cond cdecl add-library >>