From: Thibault Saunier Date: Fri, 6 Mar 2015 18:25:57 +0000 (+0100) Subject: plugin: Name differently between python2 and python3 X-Git-Tag: 1.19.3~485^2~171 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=025b7cfbeaf3b28b647d54085a4bc5d50b4a196d;p=platform%2Fupstream%2Fgstreamer.git plugin: Name differently between python2 and python3 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 --- 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)