78e7838a93
The content of this branch was automatically imported from Fedora ELN with the following as its source: https://src.fedoraproject.org/rpms/libvpx#5e9ca6bc1773df5e76267c609662a234fb55d3f8
22 lines
1.0 KiB
Diff
22 lines
1.0 KiB
Diff
diff -up libvpx-v1.0.0/libs.mk.pcfix libvpx-v1.0.0/libs.mk
|
|
--- libvpx-v1.0.0/libs.mk.pcfix 2012-01-27 13:36:39.000000000 -0500
|
|
+++ libvpx-v1.0.0/libs.mk 2012-05-29 10:48:27.348425023 -0400
|
|
@@ -232,7 +232,7 @@ vpx.pc: config.mk libs.mk
|
|
$(qexec)echo '# pkg-config file from libvpx $(VERSION_STRING)' > $@
|
|
$(qexec)echo 'prefix=$(PREFIX)' >> $@
|
|
$(qexec)echo 'exec_prefix=$${prefix}' >> $@
|
|
- $(qexec)echo 'libdir=$${prefix}/lib' >> $@
|
|
+ $(qexec)echo 'libdir=$${prefix}/$(LIBSUBDIR)' >> $@
|
|
$(qexec)echo 'includedir=$${prefix}/include' >> $@
|
|
$(qexec)echo '' >> $@
|
|
$(qexec)echo 'Name: vpx' >> $@
|
|
@@ -240,7 +240,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
|