LLVMConfig.st
changeset 51 fd59e27ac31f
parent 45 12a2f6470ef4
--- a/LLVMConfig.st	Mon Oct 12 20:52:13 2015 +0100
+++ b/LLVMConfig.st	Tue Jan 26 22:17:13 2016 +0000
@@ -165,7 +165,13 @@
             "/ OK, try libLLVM-x.y.so.1
             libpath := self libdir asFilename / ('libLLVM-', (vsn copyTo: (vsn lastIndexOf: $.) - 1)   , '.so.1').
             libpath exists ifFalse:[
-                self error: 'Could not find libLLVM.x.y.z.so'
+                "/ OK, try libLLCM-x.ysvn.so - LLVM 3.8 source builds use this
+                (vsn endsWith: 'svn') ifTrue:[  
+                    libpath := self libdir asFilename / ('libLLVM-', (vsn copyTo: (vsn lastIndexOf: $.) - 1)   , 'svn.so').
+                ].
+                libpath exists ifFalse:[ 
+                    self error: 'Could not find libLLVM.x.y.z.so'
+                ].
             ].
         ].
         LibraryPath := libpath pathName.                                                        
@@ -179,7 +185,7 @@
     "
 
     "Created: / 07-08-2015 / 14:04:52 / Jan Vrany <jan.vrany@fit.cvut.cz>"
-    "Modified (comment): / 13-09-2015 / 07:01:43 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+    "Modified: / 26-01-2016 / 15:50:35 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 ! !
 
 !LLVMConfig class methodsFor:'documentation'!