summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-03-15 22:10:51 +0100
committerDavid Robillard <d@drobilla.net>2019-03-17 00:31:46 +0100
commit6d3612fd46649c5eb00ec411376ca6b85718d424 (patch)
tree6867b5af69f0cdcd13ec1bd0f5d0bf3104c4e1bb
parent915dcb1778a592ef54a6b7e14fa8a6bd1ca3376c (diff)
downloadautowaf-6d3612fd46649c5eb00ec411376ca6b85718d424.tar.gz
autowaf-6d3612fd46649c5eb00ec411376ca6b85718d424.tar.bz2
autowaf-6d3612fd46649c5eb00ec411376ca6b85718d424.zip
Add lib_path_name constant
-rw-r--r--extras/autowaf.py7
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