summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Henningsson <david.henningsson@canonical.com>2013-09-18 15:07:37 +0200
committerDavid Henningsson <david.henningsson@canonical.com>2013-09-18 15:09:03 +0200
commitd909860d8d5f47cb0982797daba7762cd7db3a72 (patch)
tree8e37fc74be83785653048974c8067f085aabaf9e
parent82ee3dcee7d3b16cf0463633b2621019916779ab (diff)
module-tunnel: Fixup broken build
A recent feature addition added a dependency on X11, but this dependency was not specified in Makefile.am, leading to linker errors. Signed-off-by: David Henningsson <david.henningsson@canonical.com>
-rw-r--r--src/Makefile.am8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 9d96a9bb..8392953a 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1651,13 +1651,13 @@ module_tunnel_source_new_la_LDFLAGS = $(MODULE_LDFLAGS)
module_tunnel_source_new_la_LIBADD = $(MODULE_LIBADD)
module_tunnel_sink_la_SOURCES = modules/module-tunnel.c
-module_tunnel_sink_la_CFLAGS = -DTUNNEL_SINK=1 $(AM_CFLAGS)
+module_tunnel_sink_la_CFLAGS = -DTUNNEL_SINK=1 $(AM_CFLAGS) $(X11_CFLAGS)
module_tunnel_sink_la_LDFLAGS = $(MODULE_LDFLAGS)
-module_tunnel_sink_la_LIBADD = $(MODULE_LIBADD)
+module_tunnel_sink_la_LIBADD = $(MODULE_LIBADD) $(X11_LIBS)
module_tunnel_source_la_SOURCES = modules/module-tunnel.c
-module_tunnel_source_la_LDFLAGS = $(MODULE_LDFLAGS)
-module_tunnel_source_la_LIBADD = $(MODULE_LIBADD)
+module_tunnel_source_la_LDFLAGS = $(MODULE_LDFLAGS) $(X11_CFLAGS)
+module_tunnel_source_la_LIBADD = $(MODULE_LIBADD) $(X11_LIBS)
module_loopback_la_SOURCES = modules/module-loopback.c
module_loopback_la_LDFLAGS = $(MODULE_LDFLAGS)