Fixed compile error of python bindings

This commit is contained in:
Sebastian Pölsterl 2009-01-24 14:34:35 +01:00 committed by Wim Taymans
parent 02711871d0
commit 5f2db2f239
2 changed files with 3 additions and 3 deletions

View file

@ -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)

View file

@ -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