Linking against Homebrew-provided libs in Linux #2945
-
Pyenv users are having trouble building Pythons in Linux built against Homebrew-provided libs (see pyenv/pyenv#2159). For some reason, it works if one uses the GCC provided by Homebrew. Do we need to pass some additional compiler flags? Is there any guideline on the recommended way to link against Homebrew-provided libs? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Homebrew GCC is configured to add the correct RPATHs. We may add this to If you want to avoid the need for a Homebrew GCC, adding
should help. |
Beta Was this translation helpful? Give feedback.
Homebrew GCC is configured to add the correct RPATHs. We may add this to
.pc
files we ship too so that it works withpkg-config
and a non-Homebrew GCC too.If you want to avoid the need for a Homebrew GCC, adding
should help.