summaryrefslogtreecommitdiffstats
path: root/contrib/libvpx/A01-pthreads.patch
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/libvpx/A01-pthreads.patch')
-rw-r--r--contrib/libvpx/A01-pthreads.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/contrib/libvpx/A01-pthreads.patch b/contrib/libvpx/A01-pthreads.patch
new file mode 100644
index 000000000..4ac40ebe0
--- /dev/null
+++ b/contrib/libvpx/A01-pthreads.patch
@@ -0,0 +1,19 @@
+Only in libvpx-1.8.0: .DS_Store
+Only in libvpx-1.8.0/build: .DS_Store
+diff -ur libvpx-1.8.0.orig/libs.mk libvpx-1.8.0/libs.mk
+--- libvpx-1.8.0.orig/libs.mk 2019-02-04 12:02:33.000000000 -0500
++++ libvpx-1.8.0/libs.mk 2019-02-28 10:43:03.000000000 -0500
+@@ -321,11 +321,10 @@
+ $(qexec)echo 'Version: $(VERSION_MAJOR).$(VERSION_MINOR).$(VERSION_PATCH)' >> $@
+ $(qexec)echo 'Requires:' >> $@
+ $(qexec)echo 'Conflicts:' >> $@
+- $(qexec)echo 'Libs: -L$${libdir} -lvpx -lm' >> $@
+ ifeq ($(HAVE_PTHREAD_H),yes)
+- $(qexec)echo 'Libs.private: -lm -lpthread' >> $@
++ $(qexec)echo 'Libs: -L$${libdir} -lvpx -lm -lpthread' >> $@
+ else
+- $(qexec)echo 'Libs.private: -lm' >> $@
++ $(qexec)echo 'Libs: -L$${libdir} -lvpx -lm' >> $@
+ endif
+ $(qexec)echo 'Cflags: -I$${includedir}' >> $@
+ INSTALL-LIBS-yes += $(LIBSUBDIR)/pkgconfig/vpx.pc