diff options
author | Hans Lambermont <hans@lambermont.dyndns.org> | 2003-01-04 03:19:53 +0300 |
---|---|---|
committer | Hans Lambermont <hans@lambermont.dyndns.org> | 2003-01-04 03:19:53 +0300 |
commit | b506bdb2b719cff5b06bdf1e50b34fadb49df7f3 (patch) | |
tree | 6d05288082ec0902dc0c0710e635bf5d546101bd /source/blender/bpython/intern | |
parent | 5fda04dfdc9d3d5f56150f71410f1fde429f85ba (diff) |
Use FreeBSD's default python location when on FreeBSD
Diffstat (limited to 'source/blender/bpython/intern')
-rw-r--r-- | source/blender/bpython/intern/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/source/blender/bpython/intern/Makefile b/source/blender/bpython/intern/Makefile index cb67e195aa8..b6c84196f4d 100644 --- a/source/blender/bpython/intern/Makefile +++ b/source/blender/bpython/intern/Makefile @@ -47,7 +47,11 @@ CPPFLAGS += -DFUTURE_PYTHON_API # see api.h for configuration # OpenGL and Python CPPFLAGS += -I$(OPENGL_HEADERS) -CPPFLAGS += -I$(NAN_PYTHON)/include/python$(NAN_PYTHON_VERSION) +ifeq ($(OS),$(findstring $(OS), "freebsd")) + CPPFLAGS += -I$(NAN_PYTHON)$(NAN_PYTHON_VERSION) +else + CPPFLAGS += -I$(NAN_PYTHON)/include/python$(NAN_PYTHON_VERSION) +endif CPPFLAGS += -I$(NAN_BMFONT)/include/ # Reference to the types in makesdna and imbuf |