Skip to content

Commit eac9dd8

Browse files
committed
Merge pull request #3545 from gdh1995/relative-path-for-soft-links
use relative paths on making build/tools/ links
2 parents 5592e59 + 14d0bb4 commit eac9dd8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -601,7 +601,7 @@ $(TEST_CXX_BINS): $(TEST_BIN_DIR)/%.testbin: $(TEST_CXX_BUILD_DIR)/%.o \
601601
# Target for extension-less symlinks to tool binaries with extension '*.bin'.
602602
$(TOOL_BUILD_DIR)/%: $(TOOL_BUILD_DIR)/%.bin | $(TOOL_BUILD_DIR)
603603
@ $(RM) $@
604-
@ ln -s $(abspath $<) $@
604+
@ ln -s $(notdir $<) $@
605605

606606
$(TOOL_BINS): %.bin : %.o | $(DYNAMIC_NAME)
607607
@ echo CXX/LD -o $@

0 commit comments

Comments
 (0)