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

tests: do not unconditionally depend on dlsym #923

Merged
merged 1 commit into from
Dec 2, 2024

Conversation

igaw
Copy link
Collaborator

@igaw igaw commented Dec 2, 2024

Older versions of glibc do not have dl as builtin in. Thus include libdl when it's available.

While at it also make the mock library to depend hard on the presents of dlsym. It's only necessary for s390.

Fixes: cbbfdd0 ("test/mock: pass thru unknown ioctls")
Reported-by: Steven Seungcheol Lee [email protected]

Older versions of glibc do not have dl as builtin in. Thus include libdl
when it's available.

While at it also make the mock library to depend hard on the presents of
dlsym. It's only necessary for s390.

Fixes: cbbfdd0 ("test/mock: pass thru unknown ioctls")
Reported-by: Steven Seungcheol Lee <[email protected]>
Signed-off-by: Daniel Wagner <[email protected]>
@igaw igaw merged commit 3e293a1 into linux-nvme:master Dec 2, 2024
14 of 15 checks passed
@igaw igaw deleted the fix-ioctl branch December 2, 2024 10:02
@sc108-lee
Copy link
Contributor

sorry for late reply, one of my pc that use older version has meson version 1.2.0 :)
nice fix!

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.

2 participants