vpx.pc: move -lm to Libs.private
Users of libvpx should not use libm transitively, so mark it as private. Change-Id: Ic940aefe737a6f9a780ea742ea5c6be40c30a73e
This commit is contained in:
parent
272974af36
commit
bd6ffaa325
4
libs.mk
4
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user