Bug 72812 - gcc: fatal error: no input files for weston-simple-im and --disable-clients
Summary: gcc: fatal error: no input files for weston-simple-im and --disable-clients
Status: VERIFIED FIXED
Alias: None
Product: Wayland
Classification: Unclassified
Component: weston (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Wayland bug list
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-17 20:55 UTC by U. Artie Eoff
Modified: 2014-01-08 19:18 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description U. Artie Eoff 2013-12-17 20:55:45 UTC
Weston fails to compile with --disable-clients configure option at weston-simple-im:

gcc: fatal error: no input files

It's clear in the Makefile.am that the weston-simple-im SOURCES, etc... are not defined when using --disable-clients.  However weston-simple-im is explicitly and unconditionally part of the libexec_PROGRAMS.

weston (master) heads/master-0-ge22f3bb
Comment 1 Kristian Høgsberg 2014-01-01 21:57:48 UTC
commit f3fa832796a31466167e2701bb319a8d15fddd3d
Author: Kristian Høgsberg <krh@bitplanet.net>
Date:   Wed Jan 1 13:28:07 2014 -0800

    build: Move clients libexec_PROGRAMS under BUILD_CLIENTS conditional
    
    All the libexec programs are only built when BUILD_CLIENTS is true,
    so we can just assign libexec_PROGRAMS under the condition.  This lets us
    drop most of the variable assignments and simplify it a bit.
    
    https://bugs.freedesktop.org/show_bug.cgi?id=72812


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.