mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-09-09 05:38:58 +00:00
cog: fix the build
Add a uninstalled convinience libtool library containing the generated sources. Add that as a dependency to the plugin.
This commit is contained in:
parent
0a6b22b191
commit
dbbd0778a5
1 changed files with 7 additions and 3 deletions
|
@ -7,7 +7,7 @@ libgstcog_la_CFLAGS = \
|
|||
$(GST_CFLAGS) \
|
||||
$(COG_CFLAGS)
|
||||
libgstcog_la_LIBADD = \
|
||||
$(GST_PLUGINS_BASE_LIBS) -lgstvideo-$(GST_MAJORMINOR) \
|
||||
$(GST_PLUGINS_BASE_LIBS) -lgstvideo-$(GST_MAJORMINOR) libgstcogorc.la \
|
||||
$(GST_BASE_LIBS) \
|
||||
$(GST_LIBS) \
|
||||
$(COG_LIBS)
|
||||
|
@ -37,12 +37,16 @@ noinst_PROGRAMS = generate_tables
|
|||
generate_tables_CFLAGS = $(GST_CFLAGS)
|
||||
generate_tables_LDADD = $(GST_LIBS)
|
||||
|
||||
nodist_libgstcog_la_SOURCES = cogorc.c cogorc.h
|
||||
noinst_LTLIBRARIES = libgstcogorc.la
|
||||
libgstcogorc_la_SOURCES = cogorc.c cogorc.h
|
||||
libgstcogorc_la_CFLAGS = \
|
||||
-DCOG_ENABLE_UNSTABLE_API \
|
||||
$(COG_CFLAGS)
|
||||
CLEANFILES = cogorc.c cogorc.h
|
||||
|
||||
EXTRA_DIST=cog.orc
|
||||
|
||||
cogorc.c: cog.orc
|
||||
cogorc.c: cog.orc cogorc.h
|
||||
$(ORCC) --implementation -o cogorc.c cog.orc
|
||||
|
||||
cogorc.h: cog.orc
|
||||
|
|
Loading…
Reference in a new issue