]> gitweb.factorcode.org Git - factor.git/commitdiff
pcre.ffi: Fix pcre for Arch Linux 32bit on 64bit multilib.
authorDoug Coleman <doug.coleman@gmail.com>
Mon, 28 Apr 2014 07:39:09 +0000 (00:39 -0700)
committerDoug Coleman <doug.coleman@gmail.com>
Mon, 28 Apr 2014 07:39:09 +0000 (00:39 -0700)
extra/pcre/ffi/ffi.factor

index 8a7882479dcd25dd3fa3d75336d014f435ba6493..164825ca8f7b93a21f4a291b5e97b9fe89181035 100644 (file)
@@ -8,7 +8,12 @@ USING:
     system ;
 IN: pcre.ffi
 
-<< "pcre" dup find-library cdecl add-library >>
+! Arch Linux multilib calls it pcre32
+<<
+    "pcre"
+    { "pcre" "pcre32" } find-first-library
+    cdecl add-library
+>>
 
 LIBRARY: pcre