From f5e014f8b0c1d8a4d7bc94fd18aeb415f103fd75 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Tue, 19 Aug 2014 07:59:10 +1000 Subject: [PATCH] Disable static libraries Our static library leaks symbols like crazy, some of which are likely conflicts with users of this library (log_msg, open_restricted, ...). Disale static linking by default so we don't have to spend time debugging this. Related to: https://bugs.freedesktop.org/show_bug.cgi?id=82292 https://bugs.freedesktop.org/show_bug.cgi?id=82785 Signed-off-by: Peter Hutterer Reviewed-by: Hans de Goede --- src/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Makefile.am b/src/Makefile.am index 76fe4c94..44e73d3f 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -34,7 +34,7 @@ libinput_la_CFLAGS = -I$(top_srcdir)/include \ $(LIBEVDEV_CFLAGS) \ $(GCC_CFLAGS) -libinput_la_LDFLAGS = -version-info $(LIBINPUT_LT_VERSION) +libinput_la_LDFLAGS = -version-info $(LIBINPUT_LT_VERSION) -shared pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = libinput.pc