Fix libdwarf/elfutils conflict

This commit is contained in:
Todd Gamblin 2017-04-06 09:42:46 -07:00
parent 85f937525d
commit eb9cb2d4a1

View file

@ -52,6 +52,11 @@ class Libdwarf(Package):
parallel = False
def patch(self):
filter_file(r'^typedef struct Elf Elf;$', '', 'libdwarf/libdwarf.h.in')
def install(self, spec, prefix):
# elfutils contains a dwarf.h that conflicts with libdwarf's