mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-29 11:01:57 +00:00
set rpath for mac when --use-system-clang
This commit is contained in:
parent
9fd35db034
commit
934c20312a
3
wscript
3
wscript
@ -242,6 +242,9 @@ def build(bld):
|
|||||||
# Fallback for windows
|
# Fallback for windows
|
||||||
default_resource_directory = os.path.join(os.getcwd(), 'clang_resource_dir')
|
default_resource_directory = os.path.join(os.getcwd(), 'clang_resource_dir')
|
||||||
if bld.env['use_system_clang']:
|
if bld.env['use_system_clang']:
|
||||||
|
if sys.platform == 'darwin':
|
||||||
|
rpath = bld.env['LIBPATH_clang'][0]
|
||||||
|
else:
|
||||||
rpath = []
|
rpath = []
|
||||||
|
|
||||||
devnull = '/dev/null' if sys.platform != 'win32' else 'NUL'
|
devnull = '/dev/null' if sys.platform != 'win32' else 'NUL'
|
||||||
|
Loading…
Reference in New Issue
Block a user