merge with HEAD
authorMathieu Lacage <mathieu.lacage@sophia.inria.fr>
Thu, 04 Sep 2008 10:35:04 -0700
changeset 3618 da5482f27f7e
parent 3617 1fec65ceb523 (current diff)
parent 3614 74aeed0b0334 (diff)
child 3620 25871ba19a71
child 3621 378795604085
merge with HEAD
wscript
--- a/wscript	Thu Sep 04 10:34:42 2008 -0700
+++ b/wscript	Thu Sep 04 10:35:04 2008 -0700
@@ -526,10 +526,13 @@
         pathvar = 'PATH'
     elif sys.platform == 'cygwin':
         pathvar = 'PATH'
+    elif sys.platform.startswith('freebsd'):
+        pathvar = 'LD_LIBRARY_PATH'
     else:
         Params.warning(("Don't know how to configure "
-                        "dynamic library path for the platform '%s'") % (sys.platform,))
-        pathvar = None
+                        "dynamic library path for the platform %r;"
+                        " assuming it's LD_LIBRARY_PATH.") % (sys.platform,))
+        pathvar = 'LD_LIBRARY_PATH'        
 
     proc_env = dict(os.environ)
     if os_env is not None: