summaryrefslogtreecommitdiff
path: root/opus-uninstalled.pc.in
diff options
context:
space:
mode:
authorRalph Giles <giles@mozilla.com>2012-05-30 11:06:26 -0700
committerJean-Marc Valin <jmvalin@jmvalin.ca>2012-05-30 14:19:01 -0400
commitd8f1c7093ca0b62e12eee02043507fd458d098d6 (patch)
tree5e039667dec77986c0d5896185527b26240ef687 /opus-uninstalled.pc.in
parent66ac10210cbae160f225debe1a33c8ad50365a12 (diff)
downloadopus-d8f1c7093ca0b62e12eee02043507fd458d098d6.tar.gz
Advertise the static library for uninstalled builds.
It's less surprising for people using the -uninstalled pkg-config file if we advertise the static library rather than the shared build. That way the executables work without having to hack the same location into LD_LIBRARY_PATH, and the resulting binaries are easier to distribute. For this to actually work with opus-tools, the -fPIE had to be turned off, as it was in 1d128b4d5c6f. Support for static PIE builds would be restored if we compiled libopus.a with -fPIC. Also remove the private header locations. These are no longer required to declare any of the public api.
Diffstat (limited to 'opus-uninstalled.pc.in')
-rw-r--r--opus-uninstalled.pc.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/opus-uninstalled.pc.in b/opus-uninstalled.pc.in
index 00ad9c53..7361028d 100644
--- a/opus-uninstalled.pc.in
+++ b/opus-uninstalled.pc.in
@@ -8,5 +8,5 @@ Description: Opus IETF audio codec (not installed)
Version: @VERSION@
Requires:
Conflicts:
-Libs: -L${libdir} -lopus
-Cflags: -I${includedir}/include -I${includedir}/src -I${includedir}/celt
+Libs: ${libdir}/libopus.a
+Cflags: -I${includedir}/include