diff options
author | Campbell Barton <ideasman42@gmail.com> | 2008-01-18 18:10:17 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2008-01-18 18:10:17 +0300 |
commit | 09c2fd6f11eb00809678e869aec32f305e03ef02 (patch) | |
tree | bd8b41d8c089f1eef4d5d87b98e3b07c6c9ce275 /source/creator/Makefile | |
parent | afc53a1eba9041e69e7bbb95a7a9f43aeb804931 (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 'source/creator/Makefile')
-rw-r--r-- | source/creator/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/creator/Makefile b/source/creator/Makefile index 02c22aa4da8..5fba2a1bb70 100644 --- a/source/creator/Makefile +++ b/source/creator/Makefile @@ -42,6 +42,9 @@ CFLAGS += $(LEVEL_1_C_WARNINGS) CPPFLAGS += -I../blender/render/extern/include CPPFLAGS += -I../blender/radiosity/extern/include +ifeq ($(OS),linux) + CPPFLAGS += -I$(OCGDIR)/extern/binreloc/include +endif # two needed for the kernel CPPFLAGS += -I../blender/imbuf CPPFLAGS += -I../blender/makesdna |