mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-01 21:18:52 +00:00
Fixed compile error of python bindings
This commit is contained in:
parent
02711871d0
commit
5f2db2f239
2 changed files with 3 additions and 3 deletions
|
@ -14,13 +14,13 @@ defs_DATA = $(DEFS)
|
|||
defsdir = $(pkgdatadir)/$(GST_MAJORMINOR)/defs
|
||||
OVERRIDES = rtspserver.override
|
||||
|
||||
INCLUDES = $(PYTHON_INCLUDES)
|
||||
INCLUDES = -I$(top_srcdir) -I$(srcdir) $(PYTHON_INCLUDES)
|
||||
|
||||
rtspserver_la_CFLAGS = -I$(top_srcdir)/src \
|
||||
$(PYGOBJECT_CFLAGS) $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS)
|
||||
rtspserver_la_LDFLAGS = -export-symbols-regex "^(initrtspserver|_PyGObject_API).*" \
|
||||
-module -avoid-version $(GST_PLUGIN_LDFLAGS)
|
||||
rtspserver_la_LIBADD = $(top_builddir)/src/libgst-rtsp-server.a \
|
||||
rtspserver_la_LIBADD = $(top_builddir)/gst/rtsp-server/libgstrtspserver-@GST_MAJORMINOR@.la \
|
||||
$(GST_PLUGINS_BASE_LIBS) $(GST_BASE_LIBS) \
|
||||
-lgstrtp-@GST_MAJORMINOR@ -lgstrtsp-@GST_MAJORMINOR@ \
|
||||
-lgstsdp-@GST_MAJORMINOR@ $(GST_LIBS) $(LIBM)
|
||||
|
|
|
@ -14,7 +14,7 @@ headers
|
|||
#define Py_ssize_t int
|
||||
#endif
|
||||
|
||||
#include "rtsp-server.h"
|
||||
#include <gst/rtsp-server/rtsp-server.h>
|
||||
|
||||
typedef struct {
|
||||
PyObject_HEAD
|
||||
|
|
Loading…
Reference in a new issue