aboutsummaryrefslogtreecommitdiffstats
path: root/main/libvpx/libm-pc.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-10-09 12:38:40 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-10-09 12:40:01 +0000
commita42a84139197d94cc96a3b95e296eff4c8f73be7 (patch)
tree787f38a1d3d339f38cd8ee0c27d7285006e35f9e /main/libvpx/libm-pc.patch
parenta79b67399cebd6a447a857d9397eea632c599642 (diff)
downloadaports-a42a84139197d94cc96a3b95e296eff4c8f73be7.tar.bz2
aports-a42a84139197d94cc96a3b95e296eff4c8f73be7.tar.xz
main/libvpx: build shared lib, split -utils
Diffstat (limited to 'main/libvpx/libm-pc.patch')
-rw-r--r--main/libvpx/libm-pc.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/main/libvpx/libm-pc.patch b/main/libvpx/libm-pc.patch
new file mode 100644
index 0000000000..87f07a3980
--- /dev/null
+++ b/main/libvpx/libm-pc.patch
@@ -0,0 +1,11 @@
+--- ./libs.mk.orig
++++ ./libs.mk
+@@ -241,7 +241,7 @@
+ $(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