Merge pull request #258 from eli-schwartz/dont-use-echo

build: fix incorrect use of shell commands in handmade libtool file
This commit is contained in:
Con Kolivas 2025-02-07 09:59:26 +11:00 committed by GitHub
commit 1242aecfed
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -53,11 +53,12 @@ liblzma_la_LIBADD = $(ASM_7z).lo
\n\# Generated by libtool -- hack to allow asm linking\
\n\# Peter Hyman\
\npic_object='.libs/$(ASM_7z).o'\
\nnon_pic_object='$(ASM_7z).o'
\nnon_pic_object='$(ASM_7z).o'\
\n
$(ASM_7z).lo: $(ASM_S)
$(ASM_PROG) $(ASM_OPT) -o $(ASM_7z).o $(ASM_S)
mkdir -p .libs
cp $(ASM_7z).o .libs/
@echo -e "$(7ZIPASMLOFILE)" > $(ASM_7z).lo
@printf "$(7ZIPASMLOFILE)" > $(ASM_7z).lo
endif