diff --git a/Makefile b/Makefile index 788569e252..9ffa011b83 100644 --- a/Makefile +++ b/Makefile @@ -138,7 +138,7 @@ linuxstandalone: Build/Standalone # Ensure bundle includes all glibc libs, and other support # files it loads. # XXX Debian specific. - cd $(LINUXSTANDALONE_DEST) && dpkg -L libc6 | grep \.so|tar c --files-from=- | tar x + cd $(LINUXSTANDALONE_DEST) && dpkg -L libc6 | egrep '\.so|gconv'|tar c --files-from=- | tar x find $(LINUXSTANDALONE_DEST) -type d -name gconv | head -n 1 | sed 's!$(LINUXSTANDALONE_DEST)/*!!' > $(LINUXSTANDALONE_DEST)/gconvdir find $(LINUXSTANDALONE_DEST) | grep ld-linux | head -n 1 | sed 's!$(LINUXSTANDALONE_DEST)/*!!' > $(LINUXSTANDALONE_DEST)/linker