We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fc8afc3 commit e3194e3Copy full SHA for e3194e3
cmake/wasi-sdk-toolchain.cmake
@@ -171,6 +171,9 @@ ExternalProject_Add(llvm-build
171
# Pass `-s` to strip symbols by default and shrink the size of the
172
# distribution
173
-DCMAKE_EXE_LINKER_FLAGS=-s
174
+ # Looks to be required on macOS for, at build time, the dynamic linker to
175
+ # find `libedit.dylib` when that's enabled.
176
+ -DCMAKE_BUILD_RPATH=${wasi_tmp_install}/lib
177
${llvm_cmake_flags_list}
178
# See https://www.scivision.dev/cmake-externalproject-list-arguments/ for
179
# why this is in `CMAKE_CACHE_ARGS` instead of above
0 commit comments