summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2016-07-11 13:18:34 +0300
committerSebastian Dröge <sebastian@centricular.com>2016-08-12 17:18:49 +0200
commit5f066261a9344e3121a13aaafbbdda3f59b2a105 (patch)
tree618cb1f98fa0c3a20d02e96d70e8b00019443c02
parent318c87a139821db866bdad9e05e9a83aa6f923c2 (diff)
openh264: Fix installation on Windows1.9.1
Need to prepend a / when converting from a Windows-style path to a UNIX-style one
-rw-r--r--recipes/openh264.recipe2
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes/openh264.recipe b/recipes/openh264.recipe
index 7a79e327..2ccef6a9 100644
--- a/recipes/openh264.recipe
+++ b/recipes/openh264.recipe
@@ -67,7 +67,7 @@ class Recipe(recipe.Recipe):
# initial / by itself, /c:/foo does not work and and //c is not
# the same as /c on Windows. //c/foo is a network path.
if not self.config.prefix.startswith('/') and self.config.prefix[1] == ':':
- p = self.config.prefix[0] + self.config.prefix[2:]
+ p = "/" + self.config.prefix[0] + self.config.prefix[2:]
else:
p = self.config.prefix
shell.replace(os.path.join(self.build_dir, 'Makefile'),