mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 10:11:08 +00:00
Nasty hack enabling docs/gst/ to build with unpatched versions of gtkdoc-scanobj which don't understand libtool.
Original commit message from CVS: Nasty hack enabling docs/gst/ to build with unpatched versions of gtkdoc-scanobj which don't understand libtool.
This commit is contained in:
parent
785d258c33
commit
90b7ecc2ec
1 changed files with 2 additions and 1 deletions
|
@ -86,7 +86,8 @@ scanobj: $(srcdir)/$(DOC_MODULE).types
|
|||
rm gstreamer-scan.o; ln -s gstreamer-scan.lo gstreamer-scan.o
|
||||
cd ../../gst/;$(MAKE) libgst.la
|
||||
cd ../../gst/elements/;$(MAKE) libgstelements.la
|
||||
env CC="$(LIBTOOL) $(CC)" CFLAGS="$(LIBGST_CFLAGS) $(GLIB_CFLAGS) $(XML_CFLAGS) -I../../" LDFLAGS="$(GST_LIBS)"\
|
||||
# The LD env-var below is a nasty hack to make this work on versions of gtkdoc-scanobj which don't understand libtool
|
||||
env CC="$(LIBTOOL) $(CC)" LD="cp gstreamer-scan.lo gstreamer-scan.o;$(LIBTOOL) $(CC)" CFLAGS="$(LIBGST_CFLAGS) $(GLIB_CFLAGS) $(XML_CFLAGS) -I../../" LDFLAGS="$(GST_LIBS)"\
|
||||
gtkdoc-scanobj --module=$(DOC_MODULE)
|
||||
gtkdoc-scan --module=$(DOC_MODULE) --source-dir=$(DOC_SOURCE_DIR)
|
||||
|
||||
|
|
Loading…
Reference in a new issue