Build fix: common: eventfd only exists on Linux
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 12 Apr 2023 18:53:37 +0000 (14:53 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 18 Apr 2023 14:50:37 +0000 (10:50 -0400)
commitf053e8372b4870e88b9eacf63a69c32c0c878aea
treec953946801f9a207a97ffe80adcecdd1bc6f5572
parent9fd09ab6c005d062ce436ad54738e83313f65af2
Build fix: common: eventfd only exists on Linux

The project fails to build on non-Linux platforms since eventfd is a
Linux-exclusive facility.

From the project's point of view, the eventfd util belongs in libcommon.
However, we will need to write a wrapper if it ends up being used on
non-Linux platform.

For the moment, exclude it from the internal libcommon sources when
building on non-Linux platforms as it is only used on the session
daemon.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: If528ac522d72a95e87a4f496531ea679a81030a2
src/common/Makefile.am
This page took 0.024928 seconds and 4 git commands to generate.