mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-30 04:00:37 +00:00
uninstalled.pc: add support for non libtool build systems
Currently the .la path is provided which requires to use libtool as mentioned in the GStreamer manual section-helloworld-compilerun.html. It is fine as long as the application is built using libtool. So currently it is not possible to compile a GStreamer application within gst-uninstalled with CMake or other build system different than autotools. This patch allows to do the following in gst-uninstalled env: gcc test.c -o test $(pkg-config --cflags --libs gstreamer-1.0 \ gstreamer-rtsp-server-1.0) Previously it required to prepend libtool --mode=link https://bugzilla.gnome.org/show_bug.cgi?id=720778
This commit is contained in:
parent
fb9e957cc2
commit
8f1a9bff7f
1 changed files with 2 additions and 2 deletions
|
@ -1,12 +1,12 @@
|
|||
# the standard variables don't make sense for an uninstalled copy
|
||||
prefix=
|
||||
exec_prefix=
|
||||
libdir=${pcfiledir}/../gst/rtsp-server
|
||||
libdir=${pcfiledir}/../gst/rtsp-server/.libs
|
||||
includedir=${pcfiledir}/..
|
||||
|
||||
Name: gst-rtsp-server
|
||||
Description: GStreamer based RTSP server
|
||||
Version: @VERSION@
|
||||
Requires: gstreamer-@GST_API_VERSION@ gstreamer-plugins-base-@GST_API_VERSION@
|
||||
Libs: ${libdir}/libgstrtspserver-@GST_API_VERSION@.la
|
||||
Libs: -L${libdir} -lgstrtspserver-@GST_API_VERSION@
|
||||
Cflags: -I${includedir} -I@srcdir@/..
|
||||
|
|
Loading…
Reference in a new issue