mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-08-05 08:40:13 -04:00
Use fallback library path instead
This commit is contained in:
parent
63539c1dc7
commit
edbd56bbb1
@ -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'
|
||||
|
Loading…
x
Reference in New Issue
Block a user