mirror of
https://github.com/facebook/zstd.git
synced 2025-08-01 09:47:01 +03:00
replace final links by direct copy
link can behave slightly differently from real binaries, breaking a few scripts relying on "real binary" assumption.
This commit is contained in:
@ -233,7 +233,7 @@ $(BUILD_DIR)/zstd : $(ZSTD_OBJ)
|
||||
$(CC) $(FLAGS) $^ -o $@$(EXT) $(LDFLAGS)
|
||||
|
||||
zstd : $(BUILD_DIR)/zstd
|
||||
ln -sf $< $@
|
||||
cp -f $< $@
|
||||
@echo zstd build completed
|
||||
|
||||
endif # BUILD_DIR
|
||||
|
Reference in New Issue
Block a user