From 6d3612fd46649c5eb00ec411376ca6b85718d424 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 15 Mar 2019 22:10:51 +0100 Subject: Add lib_path_name constant --- extras/autowaf.py | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'extras') 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 -- cgit v1.2.1