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

Don't include dlfcn.h for Windows #1936

Conversation

steenrasmussen
Copy link
Contributor

dlfcn.h is a Posix library not natively available on Windows. Only include the header for non-Windows builds.

Fixes #1935

@pi-314159
Copy link
Member

pi-314159 commented Sep 27, 2024

Please also check #1768 @andybrucenet

@SWilson4
Copy link
Member

Thanks for the PR! I've approved the workflow run, though I can't imagine that this change will cause any test failures. Please address the DCO failure.

@dstebila
Copy link
Member

Please also check #1768 @andybrucenet

Thanks for remember #1768, @pi-314159. Would it be the case that this PR should resolve #1768?

Signed-off-by: Steen Rasmussen <[email protected]>
@steenrasmussen steenrasmussen force-pushed the include-dlfcn-for-non-windows-platforms-only branch from 6b2aea3 to a34495c Compare September 30, 2024 08:17
@steenrasmussen
Copy link
Contributor Author

This change will solely allow liboqs to build successfully on Windows. Implementing direct Windows support either with native APIs or through a compatibility layer as #1768 also suggests may still be needed but as-is these code-paths does not appear to be included for Windows.

@steenrasmussen steenrasmussen marked this pull request as ready for review September 30, 2024 11:10
@dstebila dstebila merged commit 7f4c89b into open-quantum-safe:main Sep 30, 2024
71 checks passed
ashman-p pushed a commit to ashman-p/liboqs-lms that referenced this pull request Oct 22, 2024
Signed-off-by: Steen Rasmussen <[email protected]>
Co-authored-by: Steen Rasmussen <[email protected]>
Signed-off-by: Norman Ashley <[email protected]>
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.

Compilation error: Cannot open include file: 'dlfcn.h'
4 participants