From 686cb2b4ad9903fb58c3d41a2852294ea13a3c0d Mon Sep 17 00:00:00 2001 From: Jean-Marc Valin Date: Thu, 21 Dec 2017 22:45:18 -0500 Subject: Fixes ogg-uninstalled.pc.in Sets the correct include path when the build directory isn't the the top source directory. Also, uses the .la file for linking, which makes it possible to use shared libraries (and properly build when libogg is used from a library). Signed-off-by: Ralph Giles --- ogg-uninstalled.pc.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ogg-uninstalled.pc.in') diff --git a/ogg-uninstalled.pc.in b/ogg-uninstalled.pc.in index 7872cc6..7acad78 100644 --- a/ogg-uninstalled.pc.in +++ b/ogg-uninstalled.pc.in @@ -3,12 +3,12 @@ prefix= exec_prefix= libdir=${pcfiledir}/src -includedir=${pcfiledir}/include +includedir=${pcfiledir}/@top_srcdir@/include Name: ogg Description: ogg is a library for manipulating ogg bitstreams (not installed) Version: @VERSION@ Requires: Conflicts: -Libs: ${libdir}/.libs/libogg.a +Libs: ${libdir}/.libs/libogg.la Cflags: -I${includedir} -- cgit v1.2.1