prepstrip: make sure eu-strip embeds right filename
authorMike Frysinger <vapier@gentoo.org>
Tue, 11 Oct 2011 17:28:45 +0000 (13:28 -0400)
committerMike Frysinger <vapier@gentoo.org>
Tue, 11 Oct 2011 17:28:59 +0000 (13:28 -0400)
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
bin/ebuild-helpers/prepstrip

index 7f158c29dece45ba5e6a0ab08e23aefd9c37903f..8c2ca4839573dbcff156065cd19cf37dd516004b 100755 (executable)
@@ -146,7 +146,10 @@ process_elf() {
        if ${strip_this} ; then
                # see if we can split & strip at the same time
                if [[ -n ${SPLIT_STRIP_FLAGS} ]] ; then
-                       ${STRIP} ${strip_flags} -f "${T}"/prepstrip.split.debug "${x}"
+                       ${STRIP} ${strip_flags} \
+                               -f "${T}"/prepstrip.split.debug \
+                               -F "${x##*/}.debug" \
+                               "${x}"
                        save_elf_debug "${x}"
                else
                        save_elf_debug "${x}"