[vlc-commits] Contribs: make sure to create the include/libplacebo path before copying it
Diego Elio Pettenò
git at videolan.org
Sat Nov 11 18:10:45 CET 2017
vlc | branch: master | Diego Elio Pettenò <flameeyes at flameeyes.eu> | Sat Nov 11 16:58:18 2017 +0000| [f88c34f5cb4449f5bd7bfdf77a92ba5a4d675df0] | committer: Jean-Baptiste Kempf
Contribs: make sure to create the include/libplacebo path before copying it
`cp -r` with a non-existent path will copy the directory itself as the new
path, so make sure to just create the tree beforehand.
Signed-off-by: Diego Elio Pettenò <flameeyes at flameeyes.eu>
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f88c34f5cb4449f5bd7bfdf77a92ba5a4d675df0
---
contrib/src/libplacebo/0001-build-use-a-Makefile.patch | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/contrib/src/libplacebo/0001-build-use-a-Makefile.patch b/contrib/src/libplacebo/0001-build-use-a-Makefile.patch
index 45b4b7e93b..be48d72a5c 100644
--- a/contrib/src/libplacebo/0001-build-use-a-Makefile.patch
+++ b/contrib/src/libplacebo/0001-build-use-a-Makefile.patch
@@ -36,7 +36,7 @@ index 0000000..36e7f26
+
+install: $(targets)
+ rm -rf $(PREFIX)/include/libplacebo
-+ mkdir -p $(PREFIX)/lib/pkgconfig/
++ mkdir -p $(PREFIX)/lib/pkgconfig/ $(PREFIX)/include/libplacebo
+ cp -r src/include/libplacebo $(PREFIX)/include
+ cp src/config.h $(PREFIX)/include/libplacebo
+ cp libplacebo.a $(PREFIX)/lib/
More information about the vlc-commits
mailing list