Add `-Wl,--unresolved-symbols=import-dynamic` to wasi-libc

pull/474/head
Alex Crichton 1 year ago
parent c3cb7ff23c
commit c7fea48850

2
.gitmodules vendored

@ -3,7 +3,7 @@
url = https://github.com/llvm/llvm-project url = https://github.com/llvm/llvm-project
[submodule "src/wasi-libc"] [submodule "src/wasi-libc"]
path = src/wasi-libc path = src/wasi-libc
url = https://github.com/WebAssembly/wasi-libc url = https://github.com/alexcrichton/wasi-libc
[submodule "src/config"] [submodule "src/config"]
path = src/config path = src/config
url = https://git.savannah.gnu.org/git/config.git url = https://git.savannah.gnu.org/git/config.git

@ -142,7 +142,7 @@ function(define_wasi_libc_sub target target_suffix lto)
list(JOIN extra_cflags_list " " extra_cflags) list(JOIN extra_cflags_list " " extra_cflags)
ExternalProject_Add(wasi-libc-${target}${target_suffix}-build ExternalProject_Add(wasi-libc-${target}${target_suffix}-build
# Currently wasi-libc doesn't support out-of-tree builds so feigh a # Currently wasi-libc doesn't support out-of-tree builds so feign a
# "download command" which copies the source tree to a different location # "download command" which copies the source tree to a different location
# so out-of-tree builds are supported. # so out-of-tree builds are supported.
DOWNLOAD_COMMAND DOWNLOAD_COMMAND

@ -1 +1 @@
Subproject commit b9ef79d7dbd47c6c5bafdae760823467c2f60b70 Subproject commit 72efd34839d6020d29b706d5715eb690d2acb300
Loading…
Cancel
Save