Link libgstreamer with libutil to prevent undefined symbols when
dlopening libgstpython.so.
This commit is contained in:
parent
2d88b27044
commit
3f4728cea8
@ -1,12 +1,11 @@
|
||||
# $OpenBSD: Makefile,v 1.28 2012/02/21 08:45:17 ajacoutot Exp $
|
||||
# $OpenBSD: Makefile,v 1.29 2012/02/21 13:38:22 ajacoutot Exp $
|
||||
|
||||
COMMENT = multimedia framework
|
||||
|
||||
V = 0.10.36
|
||||
|
||||
PKGNAME = gstreamer-${V}
|
||||
|
||||
DISTNAME = gstreamer-${V}
|
||||
REVISION = 0
|
||||
|
||||
SHARED_LIBS += gstreamer-0.10 3.0 # 30.0
|
||||
SHARED_LIBS += gstbase-0.10 3.0 # 30.0
|
||||
@ -16,7 +15,7 @@ SHARED_LIBS += gstcheck-0.10 2.0 # 30.0
|
||||
SHARED_LIBS += gstnet-0.10 3.0 # 30.0
|
||||
|
||||
WANTLIB += c ffi glib-2.0 gmodule-2.0 gobject-2.0 gthread-2.0
|
||||
WANTLIB += m pcre pthread xml2 z
|
||||
WANTLIB += m pcre pthread util xml2 z
|
||||
|
||||
MASTER_SITES = ${MASTER_SITE_GST:=gstreamer/}
|
||||
|
||||
|
16
multimedia/gstreamer-0.10/core/patches/patch-gst_Makefile_in
Normal file
16
multimedia/gstreamer-0.10/core/patches/patch-gst_Makefile_in
Normal file
@ -0,0 +1,16 @@
|
||||
$OpenBSD: patch-gst_Makefile_in,v 1.1 2012/02/21 13:38:22 ajacoutot Exp $
|
||||
|
||||
Needed for loading libgstpython.so:
|
||||
/usr/local/lib/libpythonX.Y.so.X.Y: undefined symbol 'forkpty'
|
||||
|
||||
--- gst/Makefile.in.orig Tue Feb 21 14:18:54 2012
|
||||
+++ gst/Makefile.in Tue Feb 21 14:19:23 2012
|
||||
@@ -669,7 +669,7 @@ libgstreamer_@GST_MAJORMINOR@_la_LIBADD = \
|
||||
$(LIBM)
|
||||
|
||||
libgstreamer_@GST_MAJORMINOR@_la_LDFLAGS = \
|
||||
- $(GST_LIB_LDFLAGS) $(GST_ALL_LDFLAGS) $(GST_LT_LDFLAGS)
|
||||
+ $(GST_LIB_LDFLAGS) $(GST_ALL_LDFLAGS) $(GST_LT_LDFLAGS) -lutil
|
||||
|
||||
libgstreamer_@GST_MAJORMINOR@includedir = $(includedir)/gstreamer-@GST_MAJORMINOR@/gst
|
||||
gst_headers = \
|
Loading…
Reference in New Issue
Block a user