This file is part of MXE.
See index.html for further information.
Contains ad hoc patches for cross building.
From 01c0e284b4d458fade9f8b2288863f3dd4dbc81a Mon Sep 17 00:00:00 2001
From: MXE
Date: Fri, 25 May 2012 23:36:41 +0200
Subject: [PATCH 1/4] add Libs.private to vpx.pc
diff --git a/libs.mk b/libs.mk
index e2ba737..209f77e 100644
--- a/libs.mk
+++ b/libs.mk
@@ -242,6 +242,7 @@ vpx.pc: config.mk libs.mk
$(qexec)echo 'Requires:' >> $@
$(qexec)echo 'Conflicts:' >> $@
$(qexec)echo 'Libs: -L$${libdir} -lvpx' >> $@
+ $(qexec)echo 'Libs.private: -lpthread' >> $@
$(qexec)echo 'Cflags: -I$${includedir}' >> $@
INSTALL-LIBS-yes += $(LIBSUBDIR)/pkgconfig/vpx.pc
INSTALL_MAPS += $(LIBSUBDIR)/pkgconfig/%.pc %.pc
--
1.7.11.5
From 73c1c32c41b75a432fbe092fb621474a760d0f51 Mon Sep 17 00:00:00 2001
From: MXE
Date: Fri, 25 May 2012 23:40:00 +0200
Subject: [PATCH 2/4] linking as test is not good for cross compiling
diff --git a/configure b/configure
index 62e1ffb..0c4faf9 100755
--- a/configure
+++ b/configure
@@ -481,9 +481,6 @@ process_detect() {
}
fi
check_header stdio.h || die "Unable to invoke compiler: ${CC} ${CFLAGS}"
- check_ld <