summaryrefslogtreecommitdiffstats
path: root/recipes/webm/libvpx_0.9.1.bb
diff options
context:
space:
mode:
authorMichael Smith <msmith@cbnco.com>2010-09-23 14:47:32 -0400
committerMichael Smith <msmith@cbnco.com>2010-09-27 07:54:54 -0400
commit96eb8296fea83132afcca2bfccf2de2c9f03e211 (patch)
treedb664126c0ba7ac0cc3eded2d9b59d820595887b /recipes/webm/libvpx_0.9.1.bb
parent3619711f4c1c3e99d542801259d029e74a8cab8b (diff)
downloadopenembedded-96eb8296fea83132afcca2bfccf2de2c9f03e211.tar.gz
libvpx: fix 0.9.1 build when prefix=""
The configure script was changed in 0.9.1 and introduced some logic that breaks when prefix is an empty string. Also switch to INC_PR for 0.9.0 and 0.9.1. Signed-off-by: Michael Smith <msmith@cbnco.com>
Diffstat (limited to 'recipes/webm/libvpx_0.9.1.bb')
-rw-r--r--recipes/webm/libvpx_0.9.1.bb9
1 files changed, 9 insertions, 0 deletions
diff --git a/recipes/webm/libvpx_0.9.1.bb b/recipes/webm/libvpx_0.9.1.bb
index b5471b8257..bcb73587d3 100644
--- a/recipes/webm/libvpx_0.9.1.bb
+++ b/recipes/webm/libvpx_0.9.1.bb
@@ -1,5 +1,14 @@
require libvpx.inc
+PR = "${INC_PR}.0"
+
+SRC_URI += "file://libvpx-configure-support-blank-prefix.patch;apply=yes"
+
+CONFIGUREOPTS += " \
+ --prefix=${prefix} \
+ --libdir=${libdir} \
+"
+
SRC_URI[md5sum] = "e1442e74d0cca228785083fa520735a2"
SRC_URI[sha256sum] = "c4e8e463e079ffde5b6948366a1d0873f1bf685dccd89ca137585c2b8247ec59"