This has been introduced by commit 6ab38b6d244e0de21b9dd94052e0da30adc4aff3.
The problem with the environment variable is that you only can run the
compiled host tools when the environment is set. So one has to add the
environment all over in many places and even if it's set in ptxdist
globally, you can't run the programs manually.

The next patch provides a better solution.

Signed-off-by: Bernhard Walle <[email protected]>
---
 rules/pre/Rules.make |    7 +------
 1 Datei geändert, 1 Zeile hinzugefügt(+), 6 Zeilen entfernt(-)

diff --git a/rules/pre/Rules.make b/rules/pre/Rules.make
index a6b662f..2d1faa6 100644
--- a/rules/pre/Rules.make
+++ b/rules/pre/Rules.make
@@ -321,10 +321,6 @@ HOST_ENV_CXX               := CXX="$(HOSTCXX)"
 HOST_ENV_CPPFLAGS      := CPPFLAGS="$(HOST_CPPFLAGS)"
 HOST_ENV_LDFLAGS       := LDFLAGS="$(HOST_LDFLAGS)"
 
-ifeq ($(shell uname -s),Darwin)
-HOST_ENV_LIBRARY_PATH  := 
DYLD_FALLBACK_LIBRARY_PATH=$(PTXDIST_SYSROOT_HOST)/lib
-endif
-
 HOST_ENV_PKG_CONFIG    := \
        PKG_CONFIG_PATH="" \
        
PKG_CONFIG_LIBDIR="$(PTXDIST_SYSROOT_HOST)/lib/pkgconfig:$(PTXDIST_SYSROOT_HOST)/share/pkgconfig"
@@ -339,8 +335,7 @@ HOST_ENV    := \
        $(HOST_ENV_CPPFLAGS) \
        $(HOST_ENV_LDFLAGS) \
        $(HOST_ENV_PKG_CONFIG) \
-       $(HOST_ENV_PYTHONPATH) \
-       $(HOST_ENV_LIBRARY_PATH)
+       $(HOST_ENV_PYTHONPATH)
 
 
 HOST_AUTOCONF  := --prefix=
-- 
1.7.10.4


-- 
ptxdist mailing list
[email protected]

Reply via email to