libvpx/libvpx-v1.1.0-pcfix.patch
Petr Šabata 78e7838a93 RHEL 9.0.0 Alpha bootstrap
The content of this branch was automatically imported from Fedora ELN
with the following as its source:
https://src.fedoraproject.org/rpms/libvpx#5e9ca6bc1773df5e76267c609662a234fb55d3f8
2020-10-15 18:02:48 +02:00

13 lines
634 B
Diff

diff -up libvpx-v1.1.0/libs.mk.pcfix libvpx-v1.1.0/libs.mk
--- libvpx-v1.1.0/libs.mk.pcfix 2012-05-29 17:07:15.786028887 -0400
+++ libvpx-v1.1.0/libs.mk 2012-05-29 17:07:19.362006037 -0400
@@ -241,7 +241,7 @@ 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' >> $@
+ $(qexec)echo 'Libs: -L$${libdir} -lvpx -lm' >> $@
$(qexec)echo 'Cflags: -I$${includedir}' >> $@
INSTALL-LIBS-yes += $(LIBSUBDIR)/pkgconfig/vpx.pc
INSTALL_MAPS += $(LIBSUBDIR)/pkgconfig/%.pc %.pc