Skip to content

Commit 4484fb9

Browse files
vchuravyvtjnash
andauthored
Update deps/patchelf.mk
Co-authored-by: Jameson Nash <[email protected]>
1 parent 93e4d83 commit 4484fb9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

deps/patchelf.mk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ $(SRCCACHE)/patchelf-$(PATCHELF_VER).tar.bz2: | $(SRCCACHE)
55

66
$(SRCCACHE)/patchelf-$(PATCHELF_VER)/source-extracted: $(SRCCACHE)/patchelf-$(PATCHELF_VER).tar.bz2
77
$(JLCHECKSUM) $<
8-
cd $(dir $<) && $(TAR) jxf $<
9-
mv $(SRCCACHE)/patchelf-$(PATCHELF_VER).*/ $(SRCCACHE)/patchelf-$(PATCHELF_VER)
8+
mkdir $(dir $@)
9+
cd $(dir $@) && $(TAR) jxf $< --strip-components=1
1010
touch -c $(SRCCACHE)/patchelf-$(PATCHELF_VER)/configure # old target
1111
echo 1 > $@
1212

0 commit comments

Comments
 (0)