fix building ldc after building libllvm

This commit is contained in:
its-pointless 2020-01-20 08:01:22 +11:00 committed by Henrik Grimler
parent 0c88882ca7
commit 84e2ab35ec

View File

@ -74,7 +74,7 @@ termux_step_host_build() {
# Just before CMake invokation for LLVM: # Just before CMake invokation for LLVM:
termux_step_pre_configure() { termux_step_pre_configure() {
LDFLAGS+=" -lc++_shared" LDFLAGS=" -L$TERMUX_PKG_BUILDDIR/llvm/lib $LDFLAGS -lc++_shared"
# Don't build compiler-rt sanitizers: # Don't build compiler-rt sanitizers:
# * 64-bit targets: libclang_rt.hwasan-*-android.so fails to link # * 64-bit targets: libclang_rt.hwasan-*-android.so fails to link