Commit bc3b66d5 authored by Derek Foreman's avatar Derek Foreman Committed by Pekka Paalanen

build: Don't depend on libffi unless we're building libraries

When building just the scanner or docs it's not required.

This can reduce requirements for a host cross compiling wayland,
since only the scanner needs to be built natively.
Signed-off-by: default avatarDerek Foreman <>
Reviewed-by: Peter Hutterer's avatarPeter Hutterer <>
Reviewed-by: Pekka Paalanen's avatarPekka Paalanen <>
parent 0e979d82
......@@ -45,7 +45,6 @@ LT_PREREQ([2.2])
if test "x$GCC" = "xyes"; then
GCC_CFLAGS="-Wall -Wextra -Wno-unused-parameter -g -Wstrict-prototypes -Wmissing-prototypes -fvisibility=hidden"
......@@ -82,6 +81,7 @@ AC_ARG_WITH(icondir, [ --with-icondir=<dir> Look for cursor icons here],
if test "x$enable_libraries" = "xyes"; then
[AC_MSG_ERROR("SFD_CLOEXEC is needed to compile wayland libraries")],
[[#include <sys/signalfd.h>]])
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment