From ae9e4a5742b0b512a15ef612764e9b60df8d51cb Mon Sep 17 00:00:00 2001
From: Maxime Curioni <maxime.curioni@gmail.com>
Date: Thu, 8 Oct 2009 06:32:07 +0000
Subject: [PATCH] jmsoler's SConscript patch for phtreads

---
 source/blender/freestyle/SConscript | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/source/blender/freestyle/SConscript b/source/blender/freestyle/SConscript
index 770ec8a1c2f..430b93d408d 100644
--- a/source/blender/freestyle/SConscript
+++ b/source/blender/freestyle/SConscript
@@ -12,6 +12,14 @@ incs += ' #/extern/glew/include #/intern/guardedalloc'
 incs += ' ' + env['BF_PYTHON_INC']	
 incs += ' ' + env['BF_PNG_INC']
 
+
+if env['OURPLATFORM'] == 'linux2':
+	cflags='-pthread'
+	incs += ' ../../../extern/binreloc/include'
+
+if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc'):
+	incs += ' ' + env['BF_PTHREADS_INC']
+
 ########################################################
 #	folders sources 
 ########################################################
-- 
GitLab