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:
authorKent Mein <mein@cs.umn.edu>2009-09-11 18:31:05 +0400
committerKent Mein <mein@cs.umn.edu>2009-09-11 18:31:05 +0400
commit4908a84825cc4e0dc8f931ce4a13edf84b230232 (patch)
tree0a8b11cd9a1535e5879b66a9be0b753a8948f8d8 /source/nan_link.mk
parentbaf12d3d1712235f94bf7db27aed21421d74efea (diff)
Added in runtime path for python since were using a dynamic lib.
(for Makefiles on linux) Kent
Diffstat (limited to 'source/nan_link.mk')
-rw-r--r--source/nan_link.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/nan_link.mk b/source/nan_link.mk
index 7211ba21e48..52e5c5de9ed 100644
--- a/source/nan_link.mk
+++ b/source/nan_link.mk
@@ -97,7 +97,7 @@ ifeq ($(OS),linux)
COMMENT = "MESA 3.1"
LLIBS = -L$(NAN_MESA)/lib -L/usr/X11R6/lib -lXmu -lXext -lX11 -lXi
LLIBS += -lutil -lc -lm -ldl -lpthread
- LLIBS += -lpython$(NAN_PYTHON_VERSION)
+ LLIBS += -L$(NAN_PYTHON)/lib -Wl,-rpath -Wl,$(NAN_PYTHON)/lib -lpython$(NAN_PYTHON_VERSION)
LOPTS = -export-dynamic
DADD = -lGL -lGLU
SADD = $(NAN_MESA)/lib/libGL.a $(NAN_MESA)/lib/libGLU.a