Skip to content

configure: non pkg-config fallback ignores custom CFLAGS and LIBS #94801

Description

@tiran

Bug report

In configure.ac we have several fallbacks when pkg-config is missing or a package does not provide a .pc file. The fallbacks do not take custom cflags into account. For example the block for zlib does AC_CHECK_HEADERS([zlib.h]) and AC_CHECK_LIB([z]) without setting CFLAGS="$CFLAGS $ZLIB_CFLAGS" first.

Activity

  1. added
    type-bugAn unexpected behavior, bug, or error
    buildThe build process and cross-build
    3.11only security fixes
    3.12only security fixes
    on Jul 13, 2022
  2. tiran commented on Jul 25, 2022

    @tiran
    MemberAuthor

    @erlend-aasland is there anything left to do? I think we are done here.

  3. erlend-aasland commented on Jul 25, 2022

    @erlend-aasland
    Contributor

    AFAICS, yes. Let's close it. If another issue surfaces, we can always open a new ticket, or just reopen this.

  4. added 3 commits that reference this issue on Jul 26, 2022
  5. added a commit that references this issue on Jul 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

3.11only security fixes3.12only security fixesbuildThe build process and cross-buildtype-bugAn unexpected behavior, bug, or error

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions