]> granicus.if.org Git - libvpx/commitdiff
vpx.pc: move -lm to Libs.private
authorJohn Koleszar <jkoleszar@google.com>
Tue, 21 Aug 2012 17:54:30 +0000 (10:54 -0700)
committerJohn Koleszar <jkoleszar@google.com>
Tue, 21 Aug 2012 18:23:39 +0000 (11:23 -0700)
Users of libvpx should not use libm transitively, so mark it as private.

Change-Id: Ic940aefe737a6f9a780ea742ea5c6be40c30a73e

libs.mk

diff --git a/libs.mk b/libs.mk
index b63a8f64a43f82c3e15f17d375775be031537b4f..dbc9464ed1498f45e0538ff8b2dd2cab94ef9102 100644 (file)
--- a/libs.mk
+++ b/libs.mk
@@ -242,8 +242,8 @@ vpx.pc: config.mk libs.mk
        $(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