eudev-project / eudev

Repository for eudev development
GNU General Public License v2.0
529 stars 144 forks source link

build: Add missing _CFLAGS variables #261

Closed orbea closed 1 year ago

orbea commented 1 year ago

This can help with cross-compiling.

Gentoo bug: https://bugs.gentoo.org/771705

orbea commented 1 year ago

Actually now that I looked again the gentoo issue is about the linker directory and not the include directory and additionally none of the Makefile.am files are building source that use the corresponding includes. However the SELINUX_CFLAGS and SELINUX_LIBS might be missing from src/shared/Makefile.am? I don't use selinux so I have not tried to confirm yet.

https://github.com/eudev-project/eudev/blob/0d86dd9a2a57d5d0809de6395dc36abe515818b5/src/shared/selinux-util.c#L25-L29