summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThibault Saunier <tsaunier@gnome.org>2015-03-06 19:25:57 +0100
committerThibault Saunier <tsaunier@gnome.org>2015-03-09 00:11:15 +0100
commitf4a1ce55b66b9bd7ad4d16e1833ab4869f2c8d64 (patch)
treea4b6e5afd302c2d4abdd23f0a3bb35910f5c078f
parent0ff3c63dd90dd429a383da36413521ac73dc5725 (diff)
plugin: Name differently between python2 and python31.4
Those are 2 different binaries and thus should have different .so names. Just use the $PYTHON_SO for that to happen. https://bugzilla.gnome.org/show_bug.cgi?id=738157
-rw-r--r--plugin/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/Makefile.am b/plugin/Makefile.am
index 042c2bc..1216c4f 100644
--- a/plugin/Makefile.am
+++ b/plugin/Makefile.am
@@ -8,6 +8,6 @@ INCLUDES = $(PYGOBJECT_CFLAGS) $(GST_CFLAGS)\
$(PYTHON_INCLUDES)
libgstpythonplugin_la_SOURCES = gstpythonplugin.c
-libgstpythonplugin_la_LDFLAGS = -avoid-version
+libgstpythonplugin_la_LDFLAGS = -avoid-version -shrext $(PYTHON_SO)
libgstpythonplugin_la_LIBADD = $(PYTHON_LIBS) $(PYGOBJECT_LIBS) $(GST_LIBS)
libgstpythonplugin_la_CFLAGS = $(GST_CFLAGS) $(PYGOBJECT_CFLAGS) $(GST_PLUGINS_BASE_CFLAGS) $(PYTHON_INCLUDES)