Makefile: fix systemd-notify plugin CFLAGS
authorPekka Paalanen <pekka.paalanen@collabora.co.uk>
Tue, 5 Apr 2016 11:08:11 +0000 (14:08 +0300)
committerBryce Harrington <bryce@osg.samsung.com>
Thu, 14 Apr 2016 00:28:14 +0000 (17:28 -0700)
commitaff703ec2b4165e87bc57816869afe5666c325d1
tree1482bc86cf47bf49563df878b5f69e4c63622404
parent7b3a52ab39bfa95b461460ef1cc1ac81824e00f7
Makefile: fix systemd-notify plugin CFLAGS

SYSTEMD_DAEMON_LIBS does not belong in CFLAGS, but SYSTEMD_DAEMON_CFLAGS
does. Fix that.

Add the missing COMPOSITOR_CFLAGS. Otherwise compiling the plugin will
use the system wayland-server.h when it should be using the one pointed
to by pkg-config.

The latter fixes the build for me, as my system libwayland-server is
older than what Weston and this plugin require, and the correct version
is only found in my install $prefix.

Cc: Egor Starkov <egor.starkov@ge.com>
Cc: Eugen Friedrich <efriedrich@de.adit-jv.com>
Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
Makefile.am