pcre.ffi: using find-library to locate shared lib

db4
Björn Lindqvist 2013-11-28 09:23:47 +01:00 committed by John Benediktsson
parent 084e3e98f1
commit 390838d21e
1 changed files with 5 additions and 8 deletions

View File

@ -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