llvm.ffi: adding macOS location (when using homebrew).
parent
deb324dee1
commit
6b91f6f774
|
@ -5,9 +5,10 @@ kernel ldcache system ;
|
||||||
IN: llvm.ffi
|
IN: llvm.ffi
|
||||||
|
|
||||||
<< "llvm" {
|
<< "llvm" {
|
||||||
{ [ os linux? ] [ "LLVM-3.9" find-so [ cdecl add-library ] [ drop ] if* ] }
|
{ [ os linux? ] [ "LLVM-3.9" find-so ] }
|
||||||
|
{ [ os macosx? ] [ "/usr/local/opt/llvm/lib/libLLVM.dylib" ] }
|
||||||
[ drop ]
|
[ drop ]
|
||||||
} cond
|
} cond [ cdecl add-library ] when*
|
||||||
>>
|
>>
|
||||||
|
|
||||||
LIBRARY: llvm
|
LIBRARY: llvm
|
||||||
|
|
Loading…
Reference in New Issue