[jhbuild/wip/path-env] environment: set dyld library path only on darwin



commit 8842a46b8fc7a7a737f581df650c12f810bd12b5
Author: Ryan Lortie <desrt desrt ca>
Date:   Wed Mar 12 17:48:16 2014 -0400

    environment: set dyld library path only on darwin

 jhbuild/environment.py |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/jhbuild/environment.py b/jhbuild/environment.py
index ee64b22..248f78c 100644
--- a/jhbuild/environment.py
+++ b/jhbuild/environment.py
@@ -136,7 +136,8 @@ def setup_env(prefix):
     addpath('CPLUS_INCLUDE_PATH', includedir)
 
     # On Mac OS X, we use DYLD_FALLBACK_LIBRARY_PATH
-    addpath('DYLD_FALLBACK_LIBRARY_PATH', libdir)
+    if sys.platform == 'darwin':
+        addpath('DYLD_FALLBACK_LIBRARY_PATH', libdir)
 
     # PATH
     bindir = os.path.join(prefix, 'bin')


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]