fix long-linker-command-lines failure caused by rust.rpath=false

Signed-off-by: onur-ozkan <work@onurozkan.dev>
This commit is contained in:
onur-ozkan 2024-03-10 09:16:24 +03:00
parent 4d4bb491b6
commit f25809d2d3

View file

@ -1,6 +1,8 @@
# ignore-cross-compile
include ../tools.mk
export LD_LIBRARY_PATH := $(HOST_RPATH_DIR)
all:
$(RUSTC) foo.rs -g -O
RUSTC="$(RUSTC_ORIGINAL)" $(call RUN,foo)