mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-14 05:12:09 +00:00
830b21caf2
Check for openssl and libcrypto using pkg-config and don't build the plugin if those are not available. Also, fix the CFLAGS/LIBS order in Makefile.am and use the detected LIBS instead of hard-coding -lcrypto in the Makefile.am. Should fix #601417.
12 lines
538 B
Makefile
12 lines
538 B
Makefile
plugin_LTLIBRARIES = libgstapexsink.la
|
|
|
|
libgstapexsink_la_SOURCES = gstapexplugin.c gstapexraop.c gstapexsink.c
|
|
libgstapexsink_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) \
|
|
$(GST_BASE_CFLAGS) $(GST_CFLAGS) $(APEXSINK_CFLAGS)
|
|
libgstapexsink_la_LIBADD = $(GST_PLUGINS_BASE_LIBS) \
|
|
-lgstaudio-$(GST_MAJORMINOR) -lgstinterfaces-$(GST_MAJORMINOR) \
|
|
$(GST_BASE_LIBS) $(GST_LIBS) $(APEXSINK_LIBS)
|
|
libgstapexsink_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|
|
libgstapexsink_la_LIBTOOLFLAGS = --tag=disable-static
|
|
|
|
noinst_HEADERS = gstapexraop.h gstapexsink.h
|