Fix 33149: LLVM caused startup crash on linux systems using Mesa llvmpipe.
[blender.git] / build_files / scons / config / linux-config.py
index 0ffd9ca9cc649247986e37b5a81e56d52b49bea2..038a9bc421d1022d2b0331852cda5c2e7d41238b 100644 (file)
@@ -298,3 +298,7 @@ BF_INSTALLDIR='../install/linux'
 #Link against pthread
 PLATFORM_LINKFLAGS = ['-pthread']
 
+#Fix for LLVM conflict with Mesa llvmpipe
+if WITH_BF_LLVM:
+    PLATFORM_LINKFLAGS += ['-Wl,--version-script=source/creator/blender.map']
+