mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 16:50:47 +00:00
tag: fix up disting of lang-tables.c more correctly
lang-tables.c is included by lang.c and not really a proper source file that should be compiled into its own object, so rename it to lang-tables.dat and put it into EXTRA_DIST instead to ensure it gets disted.
This commit is contained in:
parent
658388c57b
commit
17e1d8d20a
3 changed files with 5 additions and 2 deletions
|
@ -6,11 +6,14 @@ libgsttaginclude_HEADERS = \
|
|||
|
||||
lib_LTLIBRARIES = libgsttag-@GST_MAJORMINOR@.la
|
||||
|
||||
libgsttag_@GST_MAJORMINOR@_la_SOURCES = gstvorbistag.c gstid3tag.c lang.c tags.c gsttagdemux.c lang-tables.c
|
||||
libgsttag_@GST_MAJORMINOR@_la_SOURCES = gstvorbistag.c gstid3tag.c lang.c tags.c gsttagdemux.c
|
||||
libgsttag_@GST_MAJORMINOR@_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS)
|
||||
libgsttag_@GST_MAJORMINOR@_la_LIBADD = $(GST_BASE_LIBS) $(GST_LIBS)
|
||||
libgsttag_@GST_MAJORMINOR@_la_LDFLAGS = $(GST_LIB_LDFLAGS) $(GST_ALL_LDFLAGS) $(GST_LT_LDFLAGS)
|
||||
|
||||
# lang-tables.dat contains generated static data and is included by lang.c
|
||||
EXTRA_DIST = lang-tables.dat
|
||||
|
||||
noinst_HEADERS = gsttageditingprivate.h
|
||||
|
||||
if HAVE_INTROSPECTION
|
||||
|
|
|
@ -47,7 +47,7 @@
|
|||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "lang-tables.c"
|
||||
#include "lang-tables.dat"
|
||||
|
||||
/* FIXME: remove once we depend on GLib >= 2.22 */
|
||||
#if !GLIB_CHECK_VERSION (2, 22, 0)
|
||||
|
|
Loading…
Reference in a new issue