2
0
mirror of https://github.com/boostorg/python.git synced 2026-01-26 06:42:27 +00:00

Switch to use RPATH in test and example builds (#5).

This commit is contained in:
Jim Bosch
2012-05-13 17:50:15 -04:00
parent 28a9fab278
commit a35cbd1af1
2 changed files with 4 additions and 2 deletions

View File

@@ -6,6 +6,8 @@ import os
example_env = env.Clone()
lib_path = os.path.abspath(os.path.join("..", "src"))
example_env.Append(LIBPATH=[lib_path])
example_env.Append(RPATH=[lib_path])
example_env.Append(LINKFLAGS = ["$__RPATH"]) # workaround for SCons bug #1644
example_env.Append(LIBS=["boost_numpy"])
example = []