HMIProject / open62541-sys

2 stars 2 forks source link

Explicitly include Linux headers to re-enable musl build #20

Closed sgoll closed 1 month ago

sgoll commented 1 month ago

Description

This is a work-around to temporarily enable musl libc builds again. It is not ideal because we manually add include paths to Linux headers from the build system's environment which have been deliberately omitted from the musl include directory.

The musl FAQs warn against the use of kernel headers, so we will likely keep this work-around only until open62541 allows building without features that require those headers, at least when targeting musl environments.

See https://github.com/open62541/open62541/issues/6360