shithub: libvpx

Download patch

ref: bd6ffaa32518ed1f64c067c65293c16d69dfccd0
parent: 272974af361993de7a38896155f9600cbe1c07ba
author: John Koleszar <jkoleszar@google.com>
date: Tue Aug 21 06:54:30 EDT 2012

vpx.pc: move -lm to Libs.private

Users of libvpx should not use libm transitively, so mark it as private.

Change-Id: Ic940aefe737a6f9a780ea742ea5c6be40c30a73e

--- a/libs.mk
+++ b/libs.mk
@@ -242,8 +242,8 @@
 	$(qexec)echo 'Version: $(VERSION_MAJOR).$(VERSION_MINOR).$(VERSION_PATCH)' >> $@
 	$(qexec)echo 'Requires:' >> $@
 	$(qexec)echo 'Conflicts:' >> $@
-	$(qexec)echo 'Libs: -L$${libdir} -lvpx -lm' >> $@
-	$(qexec)echo 'Libs.private: -lpthread' >> $@
+	$(qexec)echo 'Libs: -L$${libdir} -lvpx' >> $@
+	$(qexec)echo 'Libs.private: -lm -lpthread' >> $@
 	$(qexec)echo 'Cflags: -I$${includedir}' >> $@
 INSTALL-LIBS-yes += $(LIBSUBDIR)/pkgconfig/vpx.pc
 INSTALL_MAPS += $(LIBSUBDIR)/pkgconfig/%.pc %.pc
--