--- a/LLVM.st Wed Aug 05 23:59:59 2015 +0100
+++ b/LLVM.st Fri Aug 07 14:10:48 2015 +0100
@@ -43,20 +43,10 @@
!LLVM class methodsFor:'accessing'!
libraryName
- | paths |
- OperatingSystem isUNIXlike ifTrue:[
- paths := #(
- '/usr/lib/llvm-3.8/lib/libLLVM-3.8.so'
- )
- ] ifFalse:[
- self error: 'Unsuppported operting system'
- ].
- ^ paths
- detect:[:each | each asFilename exists ]
- ifNone:[ self error: 'No suitable LLVM library found' ]
+ ^ LLVMConfig libraryPath
"Created: / 07-07-2015 / 00:45:46 / Jan Vrany <jan.vrany@fit.cvut.cz>"
- "Modified: / 31-07-2015 / 15:58:45 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+ "Modified: / 07-08-2015 / 14:07:48 / Jan Vrany <jan.vrany@fit.cvut.cz>"
! !
!LLVM class methodsFor:'primitives'!