Skip to content
Snippets Groups Projects
Commit e8e6b613 authored by Aaron Viets's avatar Aaron Viets
Browse files

gstlal-calibration: adjust gstreamer plugin .so filenames on gstreamer 1.14+...

gstlal-calibration:  adjust gstreamer plugin .so filenames on gstreamer 1.14+ to work around changes to name mangling used by the plugin scanner
parent b1d8be0d
No related branches found
No related tags found
No related merge requests found
......@@ -160,6 +160,15 @@ AC_MSG_NOTICE([If you have chosen to install the software in a location not incl
to your GST_PLUGIN_PATH environment variable.])
AC_SUBST([GSTLAL_PLUGIN_LDFLAGS], ["-module -avoid-version -export-symbols-regex [_]*\(gst_\|Gst\|GST_\|gstlal_\|GstLAL_\|GSTLAL_\).*"])
gstreamer_VERSION=`$PKG_CONFIG --modversion gstreamer-${GSTREAMER_RELEASE}`
AX_COMPARE_VERSION([$gstreamer_VERSION], [ge], [1.14.0], [
GSTPLUGINPREFIX="gst"
], [
GSTPLUGINPREFIX=""
])
AC_SUBST([GSTPLUGINPREFIX])
# Check for availability of GstBaseParse class (starting in 0.10.33)
CFLAGS_saved="$CFLAGS"
CFLAGS="$gstreamer_CFLAGS"
......
plugin_LTLIBRARIES = libgstlalcalibration.la
plugin_LTLIBRARIES = lib@GSTPLUGINPREFIX@gstlalcalibration.la
libgstlalcalibration_la_SOURCES = \
lib@GSTPLUGINPREFIX@gstlalcalibration_la_SOURCES = \
gstlalcalibration.c \
gstlal_add_constant.c gstlal_add_constant.h \
gstlal_pyfuncsrc.c gstlal_pyfuncsrc.h \
......@@ -15,6 +15,6 @@ libgstlalcalibration_la_SOURCES = \
gstlal_insertgap.c gstlal_insertgap.h \
gstlal_fccupdate.c gstlal_fccupdate.h \
gstlal_transferfunction.c gstlal_transferfunction.h
libgstlalcalibration_la_CPPFLAGS = $(AM_CPPFLAGS) $(PYTHON_CPPFLAGS)
libgstlalcalibration_la_CFLAGS = $(AM_CFLAGS) $(LAL_CFLAGS) $(GSTLAL_CFLAGS) $(gstreamer_CFLAGS) $(gstreamer_audio_CFLAGS)
libgstlalcalibration_la_LDFLAGS = $(AM_LDFLAGS) $(LAL_LIBS) $(GSTLAL_LIBS) $(PYTHON_LIBS) $(gstreamer_LIBS) $(gstreamer_audio_LIBS) $(GSTLAL_PLUGIN_LDFLAGS)
lib@GSTPLUGINPREFIX@gstlalcalibration_la_CPPFLAGS = $(AM_CPPFLAGS) $(PYTHON_CPPFLAGS)
lib@GSTPLUGINPREFIX@gstlalcalibration_la_CFLAGS = $(AM_CFLAGS) $(LAL_CFLAGS) $(GSTLAL_CFLAGS) $(gstreamer_CFLAGS) $(gstreamer_audio_CFLAGS)
lib@GSTPLUGINPREFIX@gstlalcalibration_la_LDFLAGS = $(AM_LDFLAGS) $(LAL_LIBS) $(GSTLAL_LIBS) $(PYTHON_LIBS) $(gstreamer_LIBS) $(gstreamer_audio_LIBS) $(GSTLAL_PLUGIN_LDFLAGS)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment