Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
gaoqiong
pybind11
Commits
9358e30d
Commit
9358e30d
authored
Apr 15, 2020
by
MRocholl
Committed by
Wenzel Jakob
Apr 26, 2020
Browse files
change set_path to set_file
parent
00c462d1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
tools/mkdoc.py
tools/mkdoc.py
+2
-2
No files found.
tools/mkdoc.py
View file @
9358e30d
...
...
@@ -258,8 +258,8 @@ def read_args(args):
# versions and distributions. LLVM switched to a monolithical setup
# that includes everything under /usr/lib/llvm{version_number}/
# We therefore glob for the library and select the highest version
library_
path
=
sorted
(
glob
(
"/usr/lib/llvm-*/lib/"
),
reversed
=
True
)[
0
]
cindex
.
Config
.
set_library_
path
(
library_
path
)
library_
file
=
sorted
(
glob
(
"/usr/lib/llvm-*/lib/
libclang.so
"
),
reversed
=
True
)[
0
]
cindex
.
Config
.
set_library_
file
(
library_
file
)
# clang doesn't find its own base includes by default on Linux,
# but different distros install them in different paths.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment