Make sure the build system honors C_INCLUDE_PATH and LIBRARY_PATH when
looking for headers and libraries.
--- Python-2.7.10/setup.py 2015-10-07 18:33:18.125153186 +0200
+++ Python-2.7.10/setup.py 2015-10-07 18:33:47.497347552 +0200
@@ -526,6 +526,14 @@ class PyBuildExt(build_ext):
inc_dirs += ['/system/include', '/atheos/autolnk/include']
inc_dirs += os.getenv('C_INCLUDE_PATH', '').split(os.pathsep)
+ # Always honor these variables.
+ if not cross_compiling:
+ lib_dirs += os.getenv('LIBRARY_PATH', '').split(os.pathsep)
+ inc_dirs += os.getenv('C_INCLUDE_PATH', '').split(os.pathsep)
+ else:
+ lib_dirs = os.getenv('CROSS_LIBRARY_PATH', '').split(os.pathsep)
+ inc_dirs = os.getenv('CROSS_CPATH', '').split(os.pathsep)
+
# OSF/1 and Unixware have some stuff in /usr/ccs/lib (like -ldb)
if host_platform in ['osf1', 'unixware7', 'openunix8']:
lib_dirs += ['/usr/ccs/lib']
e class='tabs'>
aboutsummaryrefslogtreecommitdiff |
|
Age | Commit message (Expand) | Author |
2023-04-19 | gnu: python-typing-extensions: Move to (gnu packages python-build)....* gnu/packages/python-xyz.scm (python-typing-extensions): Move to...
* gnu/packages/python-build.scm (python-typing-extensions): ... here.
| Maxim Cournoyer |
2023-02-17 | gnu: Make nothing depend on QtWebKit....This is required for <https://issues.guix.gnu.org/53289>.
* gnu/packages/qt.scm (python-pyqt)[inputs]: Remove qtwebkit.
(python-pyqt-without-qtwebkit): Remove variable.
(python-pyqtwebengine)[inputs]: Replace python-pyqt-without-qtwebkit with
python-pyqt.
* gnu/packages/backup.scm (vorta)[inputs]: Likewise.
* gnu/packages/ebook.scm (calibre)[inputs]: Likewise.
[arguments]: Adjust accordingly.
* gnu/packages/education.scm (anki)[inputs]: Replace
python-pyqt-without-qtwebkit with python-pyqt.
* gnu/packages/kde-games.scm (kajongg)[inputs]: Likewise.
* gnu/packages/maths.scm (veusz)[inputs]: Likewise.
* gnu/packages/music.scm (frescobaldi)[inputs]: Likewise.
(picard)[inputs]: Likewise.
* gnu/packages/orange.scm (orange)[inputs]: Likewise.
* gnu/packages/pdf.scm (flyer-composer)[inputs]: Likewise.
* gnu/packages/python-check.scm (python-pytest-qt)[propagated-inputs]: Likewise.
* gnu/packages/python-xyz.scm (python-qtconsole)[propagated-inputs]: Likewise.
(python-pyqtgraph)[propagated-inputs]: Likewise.
* gnu/packages/radio.scm (gnuradio)[inputs]: Likewise.
* gnu/packages/video.scm (openshot)[inputs]: Likewise.
* gnu/packages/vpn.scm (openconnect-sso)[inputs]: Likewise.
* gnu/packages/web-browsers.scm (qutebrowser)[inputs]: Likewise.
| Leo Famulari |
2022-09-06 | gnu: orange: Fix QT_PLUGIN_PATH....* gnu/packages/orange.scm (orange)[arguments]: Fix QT_PLUGIN_PATH.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
| Greg Hogan |
2022-07-31 | gnu: qtsvg: Rename variable to qtsvg-5....This is in preparation of the qtsvg update to version 6.
This change was automated via the following command:
git grep -l '\bqtsvg\b' | xargs sed 's/qtsvg/qtsvg-5/g' -i
| Maxim Cournoyer |
2022-06-18 | gnu: orange: Update to 3.32.0....* gnu/packages/orange.scm (orange): Update to 3.32.0.
| Vinicius Monego |