From 1bb27b8a21382a5d375e1deb4325fceb63507038 Mon Sep 17 00:00:00 2001 From: Joe Groff Date: Thu, 25 Feb 2010 15:13:06 -0800 Subject: [PATCH] deploy chipmunk lib --- extra/chipmunk/ffi/ffi.factor | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/extra/chipmunk/ffi/ffi.factor b/extra/chipmunk/ffi/ffi.factor index e2adf2dff7..0142b57a77 100644 --- a/extra/chipmunk/ffi/ffi.factor +++ b/extra/chipmunk/ffi/ffi.factor @@ -2,15 +2,19 @@ ! See http:// factorcode.org/license.txt for BSD license. USING: accessors alien.c-types alien.syntax classes.struct combinators combinators.short-circuit kernel math math.order sequences -specialized-arrays.instances.alien.c-types.void* typed -specialized-arrays locals system alien.libraries ; +typed specialized-arrays locals system alien.libraries ; +SPECIALIZED-ARRAY: void* IN: chipmunk.ffi -<< "chipmunk" { - { [ os windows? ] [ "chipmunk.dll" ] } - { [ os macosx? ] [ "libchipmunk.dylib" ] } - { [ os unix? ] [ "libchipmunk.so" ] } - } cond "cdecl" add-library >> +<< +"chipmunk" { + { [ os windows? ] [ "chipmunk.dll" ] } + { [ os macosx? ] [ "libchipmunk.dylib" ] } + { [ os unix? ] [ "libchipmunk.so" ] } +} cond "cdecl" add-library + +"chipmunk" deploy-library +>> LIBRARY: chipmunk ! chipmunk_types.h