mirror of
https://github.com/X11Libre/xf86-input-synaptics.git
synced 2026-03-24 01:34:04 +00:00
build: sort building of tools, ensure that cross-pkg-config works.
Without this change, cross-pkg-config could bring up the wrong paths to $includedir/xorg, but also fixes linkage to not use LDFLAGS where LDADD should have been used. Signed-off-by: Diego Elio Pettenò <flameeyes@gmail.com> Signed-off-by: Christoph Brill <egore911@egore911.de>
This commit is contained in:
committed by
Christoph Brill
parent
4d4c4d0ff5
commit
4005df6607
@@ -20,13 +20,13 @@
|
||||
|
||||
bin_PROGRAMS = synclient syndaemon
|
||||
|
||||
AM_CPPFLAGS = -I$(top_srcdir)/include -I$(sdkdir)
|
||||
AM_CFLAGS = $(XI_CFLAGS)
|
||||
AM_LDFLAGS = $(XI_LIBS)
|
||||
AM_CPPFLAGS = -I$(top_srcdir)/include $(XORG_CFLAGS)
|
||||
|
||||
synclient_SOURCES = synclient.c
|
||||
synclient_CFLAGS = $(XI_CFLAGS)
|
||||
synclient_LDADD = $(XI_LIBS)
|
||||
|
||||
syndaemon_SOURCES = syndaemon.c
|
||||
syndaemon_CFLAGS = $(AM_CFLAGS) $(XTST_CFLAGS)
|
||||
syndaemon_LDFLAGS = $(AM_LDFLAGS) $(XTST_LIBS)
|
||||
syndaemon_CFLAGS = $(XI_CFLAGS) $(XTST_CFLAGS)
|
||||
syndaemon_LDADD = $(XI_LIBS) $(XTST_LIBS)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user