llvm.core: fix add-llvm-library

db4
sheeple 2009-07-10 07:38:19 -05:00
parent b5ca026852
commit b7aac8c13a
1 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
! Copyright (C) 2009 Matthew Willis.
! See http://factorcode.org/license.txt for BSD license.
USING: alien.libraries alien.syntax system sequences combinators ;
USING: alien.libraries alien.syntax system sequences combinators kernel ;
IN: llvm.core
@ -11,8 +11,8 @@ IN: llvm.core
{
{ [ os macosx? ] [ "/usr/local/lib/lib" ".dylib" surround ] }
{ [ os windows? ] [ ".dll" append ] }
{ [ os unix? ] [ ".so" append ] }
} cond add-library ;
{ [ os unix? ] [ "lib" ".so" surround ] }
} cond "cdecl" add-library ;
"LLVMSystem" add-llvm-library
"LLVMSupport" add-llvm-library