Skip to content

Instantly share code, notes, and snippets.

@Flameeyes
Created November 11, 2017 17:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Flameeyes/a9013b5a20740a34071d6d7ff8727cb1 to your computer and use it in GitHub Desktop.
Save Flameeyes/a9013b5a20740a34071d6d7ff8727cb1 to your computer and use it in GitHub Desktop.
From 5cda8ee0aa090d9fd3d5bde8c16dd9402583e117 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Diego=20Elio=20Petten=C3=B2?= <flameeyes@flameeyes.eu>
Date: Sat, 11 Nov 2017 16:58:18 +0000
Subject: [PATCH] build: make sure to create the include/libplacebo path before
copying it.
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
`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@flameeyes.eu>
---
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/
--
2.15.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment