aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/parallel.scm
diff options
context:
space:
mode:
authorSteve George <steve@futurile.net>2023-10-23 23:21:25 +0100
committerEfraim Flashner <efraim@flashner.co.il>2023-10-24 14:39:45 +0300
commitf06f57d85ca50160ed10ab71b8629de4c1314964 (patch)
tree630a48b092ba389555ac14ae12349addc8f20cf0 /gnu/packages/parallel.scm
parenteffda36c0ff63e260e529d4af047e0008f0c65e5 (diff)
downloadguix-f06f57d85ca50160ed10ab71b8629de4c1314964.tar.gz
guix-f06f57d85ca50160ed10ab71b8629de4c1314964.zip
gnu: Add rust-libpulse-simple-sys-1.
* gnu/packages/crates-io.scm (rust-libpulse-simple-sys-1): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il> Change-Id: I9f959674176fd54b7f195bce345f2631f7d189da
Diffstat (limited to 'gnu/packages/parallel.scm')
0 files changed, 0 insertions, 0 deletions
pos;$interp + PY_BUILD_ENVIRON='_PYTHON_PROJECT_BASE=$(abs_builddir) _PYTHON_HOST_PLATFORM=$(_PYTHON_HOST_PLATFORM) PYTHONPATH=$(shell test -f pybuilddir.txt && echo $(abs_builddir)/`cat pybuilddir.txt`:)$(srcdir)/Lib:$(srcdir)/Lib/$(PLATDIR)' + PYTHON_FOR_BUILD=$interp fi elif test "$cross_compiling" = maybe; then as_fn_error $? "Cross compiling required --host=HOST-TUPLE and --build=ARCH" "$LINENO" 5 @@ -2974,6 +2976,7 @@ fi + if test "$prefix" != "/"; then prefix=`echo "$prefix" | sed -e 's/\/$//g'` fi diff --git a/setup.py b/setup.py index cb47a2339c..472e7e2b26 100644 --- a/setup.py +++ b/setup.py @@ -497,8 +497,6 @@ class PyBuildExt(build_ext): if not cross_compiling: add_dir_to_list(self.compiler.library_dirs, '/usr/local/lib') add_dir_to_list(self.compiler.include_dirs, '/usr/local/include') - if cross_compiling: - self.add_gcc_paths() self.add_multiarch_paths() # Add paths specified in the environment variables LDFLAGS and @@ -556,7 +554,10 @@ class PyBuildExt(build_ext): # be assumed that no additional -I,-L directives are needed. inc_dirs = self.compiler.include_dirs[:] lib_dirs = self.compiler.library_dirs[:] - if not cross_compiling: + if cross_compiling: + inc_dirs = [] + lib_dirs = [] + else: for d in ( '/usr/include', ): @@ -621,6 +622,8 @@ class PyBuildExt(build_ext): # Some modules that are normally always on: #exts.append( Extension('_weakref', ['_weakref.c']) ) + self.compiler.library_dirs = lib_dirs + [ '.' ] + # array objects exts.append( Extension('array', ['arraymodule.c']) ) -- 2.17.1