All of lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel Vetter <daniel.vetter@ffwll.ch>
To: Intel Graphics Development <intel-gfx@lists.freedesktop.org>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>,
	Daniel Vetter <daniel.vetter@intel.com>
Subject: [PATCH i-g-t 2/2] lib: Attemp at .so libraries
Date: Thu, 31 Aug 2017 13:18:26 +0200	[thread overview]
Message-ID: <1504178306-19601-2-git-send-email-daniel.vetter@ffwll.ch> (raw)
In-Reply-To: <1504178306-19601-1-git-send-email-daniel.vetter@ffwll.ch>

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(-)

diff --git a/configure.ac b/configure.ac
index 41ec4d26391a..97251883d11c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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
diff --git a/lib/Makefile.am b/lib/Makefile.am
index 0c26186132d1..40399be12da9 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -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
-
-- 
2.5.5

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

  reply	other threads:[~2017-08-31 11:18 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-31 11:18 [PATCH i-g-t 1/2] lib: rename to libigt Daniel Vetter
2017-08-31 11:18 ` Daniel Vetter [this message]
2017-08-31 13:37 ` ✗ Fi.CI.BAT: failure for series starting with [1/2] " Patchwork

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1504178306-19601-2-git-send-email-daniel.vetter@ffwll.ch \
    --to=daniel.vetter@ffwll.ch \
    --cc=daniel.vetter@intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.