Skip to content

Commit 36eda72

Browse files
committed
when repo /target exists, out of source build still works
1 parent 1e3b427 commit 36eda72

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

template/Makefile.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ ZJIT_OBJ=@ZJIT_OBJ@
112112
RUST_JIT_SUPPORT=@RUST_JIT_SUPPORT@
113113
CARGO_TARGET_DIR=@abs_top_builddir@/target
114114
CARGO_BUILD_ARGS=@CARGO_BUILD_ARGS@
115-
RUST_LIB=@RUST_LIB@
115+
RUST_LIB=@abs_top_builddir@/@RUST_LIB@
116116
RUST_LIBOBJ = $(RUST_LIB:.a=.@OBJEXT@)
117117
LDFLAGS = @STATIC@ $(CFLAGS) @LDFLAGS@
118118
EXE_LDFLAGS = $(LDFLAGS)

0 commit comments

Comments
 (0)