summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2014-08-19 07:57:25 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2014-08-25 07:57:43 +1000
commitad13bac1f4f491eaf86179c3e90e4ae2764803b7 (patch)
treea27658a4db4155e6ecbd43ecb09eb2040def0047 /tools
parent8f846a41fa0566fbd72ece676656e20e56ce43e6 (diff)
downloadlibinput-ad13bac1f4f491eaf86179c3e90e4ae2764803b7.tar.gz
Use -no-install instead of -static for local noinst linking
The goal of -static was to avoid the libtool wrappers for easier debugging. The -no-install flag does exactly that, without requiring static linking. Related to https://bugs.freedesktop.org/show_bug.cgi?id=82292 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/Makefile.am b/tools/Makefile.am
index f59068da..aadd874a 100644
--- a/tools/Makefile.am
+++ b/tools/Makefile.am
@@ -5,7 +5,7 @@ AM_CPPFLAGS = -I$(top_srcdir)/include \
event_debug_SOURCES = event-debug.c
event_debug_LDADD = ../src/libinput.la $(LIBUDEV_LIBS)
-event_debug_LDFLAGS = -static
+event_debug_LDFLAGS = -no-install
event_debug_CFLAGS = $(LIBUDEV_CFLAGS)
if BUILD_EVENTGUI
@@ -14,5 +14,5 @@ noinst_PROGRAMS += event-gui
event_gui_SOURCES = event-gui.c
event_gui_LDADD = ../src/libinput.la $(CAIRO_LIBS) $(GTK_LIBS) $(LIBUDEV_LIBS)
event_gui_CFLAGS = $(CAIRO_CFLAGS) $(GTK_CFLAGS) $(LIBUDEV_CFLAGS)
-event_gui_LDFLAGS = -static
+event_gui_LDFLAGS = -no-install
endif