Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow disabling autodetection of subunit library #353

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

obbardc
Copy link

@obbardc obbardc commented Jun 13, 2024

It can be useful to avoid linking to subunit when we are building the check library for the host, e.g. in a buildroot recipe, where the built check is linked into other applications which are used on the host to build images.

These applications are built with the host's cross-compiler and can use the host's pkgconfig to determine if libraries are available. When check is linked against other libraries, it can fail this check for subunit.

Allow disabling the autodetection of subunit with a configure flag -DENABLE_SUBUNIT_EXT=OFF

It can be useful to avoid linking to subunit when we are building the check
library for the host, e.g. in a buildroot recipe, where the built check is
linked into other applications which are used on the host to build images.

These applications are built with the host's cross-compiler and can use
the host's pkgconfig to determine if libraries are available. When check
is linked against other libraries, it can fail this check for subunit.

Allow disabling the autodetection of subunit with a configure flag
-DENABLE_SUBUNIT_EXT=OFF

Signed-off-by: Christopher Obbard <[email protected]>
@brarcher brarcher force-pushed the wip/obbardc/explicit-enable-subunit branch from 195d2dc to d2cb180 Compare June 16, 2024 23:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant