Skip to content

Commit

Permalink
Hidden (#818)
Browse files Browse the repository at this point in the history
  • Loading branch information
Baltoli authored Jul 28, 2023
1 parent 5c094c5 commit 45ddd54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/llvm-kompile-clang
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ elif [[ "$main" =~ "python" ]]; then
# Don't link jemalloc when building a python library; it clashes with the
# pymalloc implementation that Python expects you to use.
all_libraries=("${libraries[@]}" "-lgmp" "-lgmpxx" "-lmpfr" "-lpthread" "-ldl" "-lffi")
flags+=("-fPIC" "-shared" "-I${INCDIR}")
flags+=("-fPIC" "-shared" "-I${INCDIR}" "-fvisibility=hidden")

read -r -a python_include_flags <<< "$("${python_cmd}" -m pybind11 --includes)"
flags+=("${python_include_flags[@]}")
Expand Down

0 comments on commit 45ddd54

Please sign in to comment.