You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Fool libtool to allow building a shared library although linking to libclang_rt.builtins-aarch64.a
216
+
#
217
+
# Linker option "-llibclang_rt.builtins-aarch64.a" is required on Windows on ARM when compiling C++ and when clang is called with -nostdlib (due to be invoked by libtool).
218
+
# Unfortunately libtool then forces a static build.
219
+
# This is a ugly hack to make libtool beleave that the library is a DLL instead of an archive and to allow building a DLL instand.
220
+
#
221
+
RUN sudo cp /llvm-mingw-20250114-ucrt-ubuntu-20.04-<%=RUBY_PLATFORM[/^\w+/]%>/aarch64-w64-mingw32/bin/libc++.dll /llvm-mingw-20250114-ucrt-ubuntu-20.04-<%=RUBY_PLATFORM[/^\w+/]%>/aarch64-w64-mingw32/lib/libclang_rt.builtins-aarch64.0
222
+
<%end%>
223
+
214
224
<%ifplatform =~ /darwin/%>
215
225
# Install wrapper around strip to re-sign binaries (ad-hoc signature)
0 commit comments