From bd6ffaa32518ed1f64c067c65293c16d69dfccd0 Mon Sep 17 00:00:00 2001 From: John Koleszar Date: Tue, 21 Aug 2012 10:54:30 -0700 Subject: [PATCH] vpx.pc: move -lm to Libs.private Users of libvpx should not use libm transitively, so mark it as private. Change-Id: Ic940aefe737a6f9a780ea742ea5c6be40c30a73e --- libs.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs.mk b/libs.mk index b63a8f6..dbc9464 100644 --- 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 -- 2.7.4