[Bug 720778] gst-uninstalled requires building with libtool

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Sun Oct 11 03:04:36 PDT 2015


https://bugzilla.gnome.org/show_bug.cgi?id=720778

--- Comment #10 from Julien Isorce <julien.isorce at gmail.com> ---
> compilers/linkers could (rightfully) fail as the .la file is something they
> don't understand.
This is currently the case in upstream and with the classic gcc and on linux.
(.la are in pc uninstalled). Also I am confused since you said in other bug
that .la are required for proper link/runtime.

How to move forward then ? :)

With current gst upstream I cannot compile chromium within gst-uninstalled. I
really need whatever fix (mine or Heinrich's script) which fixes the problem.
(so that with the fixes I can link and run Chromium within gst-uninstalled)

To avoid .la errors:

gcc $(pkg-config --cflags --libs-only-L gstreamer-1.0) test.c \
    -o test $(pkg-config --libs-only-l gstreamer-1.0)

Chromium was already using these options --libs-only-L and --libs-only-l for
glib for example.
See:
https://chromium.googlesource.com/chromium/src/+/master/build/linux/system.gyp#923

So I suggest to have both (-L, -l and .la) in the pc uninstalled. Apps that do
not use libtool will have to use --libs-only-L and --libs-only-l. Which provide
a way to compile against gstreamer, what it is not possible with current
upstream.

I am open to any suggestion :)

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list