Making opus-uninstalled.pc use the .la instead of the .a v1.3-beta
authorJean-Marc Valin <jmvalin@jmvalin.ca>
Tue, 19 Dec 2017 20:17:10 +0000 (15:17 -0500)
committerJean-Marc Valin <jmvalin@jmvalin.ca>
Tue, 19 Dec 2017 20:17:10 +0000 (15:17 -0500)
This makes it possible to link dynamically with an uninstalled libopus.
It does require the executable to use libtool however.

opus-uninstalled.pc.in

index 3f2d674..19f5c93 100644 (file)
@@ -8,5 +8,5 @@ Description: Opus IETF audio codec (not installed, @PC_BUILD@)
 Version: @VERSION@
 Requires:
 Conflicts:
-Libs: ${libdir}/libopus.a @LIBM@
+Libs: ${libdir}/libopus.la @LIBM@
 Cflags: -I${pcfiledir}/@top_srcdir@/include