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



commit ade0818628cae09d739ff57ebff33c82c51319ac
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]