https://sourceware.org/bugzilla/show_bug.cgi?id=30812

Mark Wielaard <mark at klomp dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Mark Wielaard <mark at klomp dot org> ---
commit 276c367be0807301652817c0df071c90ae3c276b
Author: Mark Wielaard <m...@klomp.org>
Date:   Sun Sep 3 18:25:56 2023 +0200

    tests: Fix system_elf_gelf_test build without system libelf.h

    If there is no system libelf.h then the building of system-elf-gelf-test
    fails with:

    ../libelf/gelf.h:32:10: fatal error: libelf.h: No such file or directory

    This is because although the testcase includes the headers as
    ../libelf/libelf.h and ../libelf/gelf.h, gelf.h itself does an

    Fix this by putting a copy of libelf.h in the build test directory
    and using -I. for building system-elf-gelf-test.

            * tests/Makefile.am (BUILT_SOURCES): New for libelf.h.
            (CLEANFILES): Add libelf.h.
            (libelf.h): New target that copies srdir libelf.h.
            (system_elf_gelf_test_CPPFLAGS): Add -I.

    https://sourceware.org/bugzilla/show_bug.cgi?id=30812

    Signed-off-by: Mark Wielaard <m...@klomp.org>

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to