mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
27 lines
1.1 KiB
Diff
27 lines
1.1 KiB
Diff
From 5e9e5fa2b2aefefbdc00547d7f10ee92d9b3356a Mon Sep 17 00:00:00 2001
|
|
From: Daniel Kolesa <daniel@octaforge.org>
|
|
Date: Tue, 21 Dec 2021 00:48:29 +0100
|
|
Subject: [PATCH 09/15] do not export LD_LIBRARY_PATH
|
|
|
|
diff --git a/src/bootstrap/bootstrap.py b/src/bootstrap/bootstrap.py
|
|
index 535bdecb0..75d23899b 100644
|
|
--- a/src/bootstrap/bootstrap.py
|
|
+++ b/src/bootstrap/bootstrap.py
|
|
@@ -1023,17 +1023,6 @@ class RustBuild(object):
|
|
del env["CARGO_BUILD_TARGET"]
|
|
env["CARGO_TARGET_DIR"] = build_dir
|
|
env["RUSTC"] = self.rustc()
|
|
- env["LD_LIBRARY_PATH"] = (
|
|
- os.path.join(self.bin_root(), "lib") + (os.pathsep + env["LD_LIBRARY_PATH"])
|
|
- if "LD_LIBRARY_PATH" in env
|
|
- else ""
|
|
- )
|
|
- env["DYLD_LIBRARY_PATH"] = (
|
|
- os.path.join(self.bin_root(), "lib")
|
|
- + (os.pathsep + env["DYLD_LIBRARY_PATH"])
|
|
- if "DYLD_LIBRARY_PATH" in env
|
|
- else ""
|
|
- )
|
|
env["LIBRARY_PATH"] = (
|
|
os.path.join(self.bin_root(), "lib") + (os.pathsep + env["LIBRARY_PATH"])
|
|
if "LIBRARY_PATH" in env
|