From 09c2fd6f11eb00809678e869aec32f305e03ef02 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Fri, 18 Jan 2008 15:10:17 +0000 Subject: 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. --- extern/binreloc/SConscript | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 extern/binreloc/SConscript (limited to 'extern/binreloc/SConscript') 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) + -- cgit v1.2.3