summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Schmidt <jan@centricular.com>2016-08-22 22:30:06 +1000
committerJan Schmidt <jan@centricular.com>2016-08-22 22:30:06 +1000
commit741a0ce31c875bb2f26008c95032cc9faaa7cf6d (patch)
treefb71e1958f97bf90561cdf0b4b24768820fa548e
parentd3e5bd9138e495476f062f5d4e00bb1b30e2eac6 (diff)
Revert "openh264: Fix installation on Windows"
This reverts commit c0a6825f5ebdef605a09d122dfcfa9d45357ce12. Openh264 makefiles install to $(DESTDIR)/$(PREFIX) so they already prepend a /
-rw-r--r--recipes/openh264.recipe2
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes/openh264.recipe b/recipes/openh264.recipe
index eb546c31..d6c405ea 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'),