@@ -39,6 +39,8 @@ AC_CANONICAL_TARGET
AM_INIT_AUTOMAKE([1.12 foreign subdir-objects dist-bzip2])
AM_PATH_PYTHON([3],, [:])
+LT_INIT
+
AC_PROG_CC
AC_PROG_LEX
AC_PROG_YACC
@@ -5,9 +5,10 @@ SUBDIRS = . tests
include Makefile.sources
+lib_LTLIBRARIES = libigt.la
+
libigt_la_SOURCES = $(lib_source_list)
-noinst_LTLIBRARIES = libigt.la
noinst_HEADERS = check-ndebug.h
if HAVE_LIBDRM_VC4
@@ -60,6 +61,7 @@ AM_CFLAGS = \
$(PIXMAN_CFLAGS) \
$(GLIB_CFLAGS) \
$(VALGRIND_CFLAGS) \
+ $(ALSA_CFLAGS) \
-DIGT_SRCDIR=\""$(abs_top_srcdir)/tests"\" \
-DIGT_DATADIR=\""$(pkgdatadir)"\" \
-DIGT_LOG_DOMAIN=\""$(subst _,-,$*)"\" \
@@ -81,5 +83,5 @@ libigt_la_LIBADD = \
$(LIBUDEV_LIBS) \
$(PIXMAN_LIBS) \
$(GLIB_LIBS) \
+ $(ALSA_LIBS) \
-lm
-
I managed to get it built, but none of the executables is using it. At least one version of this also needed the alsa lib/flags added, so it'll build properly as an .so. No idea why it doesn't go boom when only building the .la. Signed-off-by: Daniel Vetter <daniel.vetter@intel.com> --- configure.ac | 2 ++ lib/Makefile.am | 6 ++++-- 2 files changed, 6 insertions(+), 2 deletions(-)