diff options
-rw-r--r-- | extras/autowaf.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/extras/autowaf.py b/extras/autowaf.py index 92d0e57..a7aa639 100644 --- a/extras/autowaf.py +++ b/extras/autowaf.py @@ -17,6 +17,13 @@ g_step = 0 global line_just line_just = 40 +if sys.platform == 'win32': + lib_path_name = 'PATH' +elif sys.platform == 'darwin': + lib_path_name = 'DYLD_LIBRARY_PATH' +else: + lib_path_name = 'LD_LIBRARY_PATH' + # Compute dependencies globally # import preproc # preproc.go_absolute = True |