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



commit 88c1380610364235676cadfbe955cf69ff40a037
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]