diff options
author | Ralph Giles <giles@mozilla.com> | 2012-05-30 11:06:26 -0700 |
---|---|---|
committer | Jean-Marc Valin <jmvalin@jmvalin.ca> | 2012-05-30 14:19:01 -0400 |
commit | d8f1c7093ca0b62e12eee02043507fd458d098d6 (patch) | |
tree | 5e039667dec77986c0d5896185527b26240ef687 /opus-uninstalled.pc.in | |
parent | 66ac10210cbae160f225debe1a33c8ad50365a12 (diff) | |
download | opus-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.in | 4 |
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 |