From edbd56bbb118620f7200b3d6c8e47977e267fd78 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 5 Sep 2019 14:21:36 +0530 Subject: [PATCH] Use fallback library path instead --- setup/unix-ci.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/setup/unix-ci.py b/setup/unix-ci.py index 35d9e79681..bd76739136 100644 --- a/setup/unix-ci.py +++ b/setup/unix-ci.py @@ -35,7 +35,10 @@ if ismacos: setenv('LDFLAGS', '-L$SW/lib') setenv('QMAKE', '$SW/qt/bin/qmake') setenv('QTWEBENGINE_DISABLE_SANDBOX', '1') - setenv('DYLD_LIBRARY_PATH', '$SW/lib') + old = os.environ.get('DYLD_FALLBACK_LIBRARY_PATH', '') + if old: + old += ':' + setenv('DYLD_FALLBACK_LIBRARY_PATH', old + '$SW/lib') else: SWBASE = '/sw'