Commit 71c4f70e authored by Reynaldo H. Verdejo Pinochet's avatar Reynaldo H. Verdejo Pinochet Committed by Derek Foreman

buildsystem: add missing pkg-config stub for libweston uninstalled

-uninstalled.pc files are a pkg-config facility for working with
uninstalled libraries.

With pkg-config, foo-uninstalled.pc overrides foo.pc. foo-uninstalled.pc
should never be installed, and will be generated with references to the
build directory.

If you set up your environment so pkg-config looks for .pc files in your
build directories, you can use this to build and link against libraries
you haven't installed with "make install".

This can save time and space over installing with a prefix.
Signed-off-by: default avatarReynaldo H. Verdejo Pinochet <>
Acked-by: default avatarBryce Harrington <>
Reviewed-by: default avatarDerek Foreman <>
parent 323d4b37
......@@ -679,7 +679,9 @@ AC_CONFIG_FILES([Makefile libweston/version.h compositor/weston.pc])
# AC_CONFIG_FILES needs the full name when running autoconf, so we need to use
# libweston_abi_version here, and outside [] because of m4 quoting rules
AM_CONDITIONAL([HAVE_GIT_REPO], [test -f $srcdir/.git/logs/HEAD])
Name: libweston-desktop, uninstalled
Description: Desktop shells abstraction library for libweston compositors (not installed)
Requires.private: libweston-@LIBWESTON_MAJOR@-uninstalled wayland-server
Cflags: -I${includedir}/libweston-desktop -I${includedir}/shared
Libs: -L${libdir} -lweston-desktop-@LIBWESTON_MAJOR@
Name: libweston API, uninstalled
Description: Header files for libweston compositors development (not installed)
Requires.private: wayland-server pixman-1 xkbcommon
Cflags: -I${includedir}/libweston -I${includedir}/shared
Libs: -L${libdir} -lweston-@LIBWESTON_MAJOR@
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment