From 84e2ab35ecd57fdf2b97672d04417c5d48318e05 Mon Sep 17 00:00:00 2001 From: its-pointless Date: Mon, 20 Jan 2020 08:01:22 +1100 Subject: [PATCH] fix building ldc after building libllvm --- packages/ldc/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/ldc/build.sh b/packages/ldc/build.sh index 68881fcd8..b50653652 100644 --- a/packages/ldc/build.sh +++ b/packages/ldc/build.sh @@ -74,7 +74,7 @@ termux_step_host_build() { # Just before CMake invokation for LLVM: termux_step_pre_configure() { - LDFLAGS+=" -lc++_shared" + LDFLAGS=" -L$TERMUX_PKG_BUILDDIR/llvm/lib $LDFLAGS -lc++_shared" # Don't build compiler-rt sanitizers: # * 64-bit targets: libclang_rt.hwasan-*-android.so fails to link