Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2008-01-18 18:10:17 +0300
committerCampbell Barton <ideasman42@gmail.com>2008-01-18 18:10:17 +0300
commit09c2fd6f11eb00809678e869aec32f305e03ef02 (patch)
treebd8b41d8c089f1eef4d5d87b98e3b07c6c9ce275 /extern/binreloc/SConscript
parentafc53a1eba9041e69e7bbb95a7a9f43aeb804931 (diff)
Linux only addition to know for sure the path of blender because sometimes the Play button doesn't work depending on how blender is started.
This uses binreloc - http://autopackage.org/docs/binreloc/ it should also solve the problem of python scripts not being found.
Diffstat (limited to 'extern/binreloc/SConscript')
-rw-r--r--extern/binreloc/SConscript13
1 files changed, 13 insertions, 0 deletions
diff --git a/extern/binreloc/SConscript b/extern/binreloc/SConscript
new file mode 100644
index 00000000000..a39dff7f399
--- /dev/null
+++ b/extern/binreloc/SConscript
@@ -0,0 +1,13 @@
+#!/usr/bin/python
+import sys
+import os
+
+Import('env')
+defs = 'ENABLE_BINRELOC'
+cflags = []
+
+sources = ['binreloc.c']
+incs = 'include'
+
+env.BlenderLib ( 'extern_binreloc', sources, Split(incs), Split(defs), libtype=['intern','player'], priority=[36, 114], compileflags = cflags)
+