pcre.ffi: using find-library to locate shared lib
parent
084e3e98f1
commit
390838d21e
|
@ -1,17 +1,14 @@
|
||||||
USING:
|
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
|
classes.struct
|
||||||
combinators
|
combinators
|
||||||
|
kernel
|
||||||
system ;
|
system ;
|
||||||
IN: pcre.ffi
|
IN: pcre.ffi
|
||||||
|
|
||||||
! http://sourceforge.net/projects/gnuwin32/files/pcre/7.0/pcre-7.0-bin.zip/download
|
<< "pcre" dup find-library cdecl add-library >>
|
||||||
|
|
||||||
<< "pcre" {
|
|
||||||
{ [ os macosx? ] [ "libpcre.dylib" ] }
|
|
||||||
{ [ os unix? ] [ "libpcre.so" ] }
|
|
||||||
{ [ os windows? ] [ "pcre3.dll" ] }
|
|
||||||
} cond cdecl add-library >>
|
|
||||||
|
|
||||||
LIBRARY: pcre
|
LIBRARY: pcre
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue