Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 289004 | Differences between
and this patch

Collapse All | Expand All

(-)a/src/SConscript (-2 / +6 lines)
Lines 17-23 Link Here
17
    env['LINKFLAGS'] += SCons.Util.CLVar(os.environ['LDFLAGS'])
17
    env['LINKFLAGS'] += SCons.Util.CLVar(os.environ['LDFLAGS'])
18
18
19
# Include directories to look for 'Python.h' in
19
# Include directories to look for 'Python.h' in
20
env.Append(CPPPATH=[get_python_inc(plat_specific=True)])
20
# Use the PYTHONINC argument if the python version targeted is not the one
21
# used by Scons
22
env.Append(CPPPATH=[ARGUMENTS.get('PYTHONINC', get_python_inc(plat_specific=True))])
21
23
22
# Libraries to link against
24
# Libraries to link against
23
# On some systems, boost_python is actually called boost_python-mt.
25
# On some systems, boost_python is actually called boost_python-mt.
Lines 43-49 Link Here
43
    # See http://www.python.org/dev/peps/pep-0370/ for reference.
45
    # See http://www.python.org/dev/peps/pep-0370/ for reference.
44
    install_dir = site.USER_SITE
46
    install_dir = site.USER_SITE
45
else:
47
else:
46
    python_lib_path = get_python_lib(plat_specific=True)
48
    # Use the PYTHONLIB argument if the python version targeted is not the one
49
    # used by Scons
50
    python_lib_path = ARGUMENTS.get('PYTHONLIB', get_python_lib(plat_specific=True))
47
    # If DESTDIR is specified on the command line when invoking
51
    # If DESTDIR is specified on the command line when invoking
48
    # scons, its value will be prepended to each installed target file. See
52
    # scons, its value will be prepended to each installed target file. See
49
    # http://www.gnu.org/prep/standards/html_node/DESTDIR.html for reference.
53
    # http://www.gnu.org/prep/standards/html_node/DESTDIR.html for reference.

Return to bug 289004