tools/elfutils: prevent invalid include of stack binary
authorMichael Pratt <mcpratt@pm.me>
Sat, 28 Sep 2024 11:06:59 +0000 (07:06 -0400)
committerRobert Marko <robimarko@gmail.com>
Mon, 30 Sep 2024 09:07:04 +0000 (11:07 +0200)
commit484f71f4e6781587e613d4133a083db03685baaa
tree2b99c555dc37680ad3cb14c8c18706afb6040b97
parent3f98f685732223c48667208a595a00e316220492
tools/elfutils: prevent invalid include of stack binary

In some versions of Xcode, some C++ header has an include
of the standard C++ header "stack" while "." is in the include paths
which can conflict with the binary "stack" built by elfutils.
This leads to a decode error as the binary is interpreted as text.

Add an arbitrary dependency between stack and the C++ program.

Signed-off-by: Michael Pratt <mcpratt@pm.me>
tools/elfutils/patches/100-portability.patch