summaryrefslogtreecommitdiff
path: root/repo/woff2/install-executables.patch
diff options
context:
space:
mode:
Diffstat (limited to 'repo/woff2/install-executables.patch')
-rw-r--r--repo/woff2/install-executables.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/repo/woff2/install-executables.patch b/repo/woff2/install-executables.patch
new file mode 100644
index 0000000..18616a0
--- /dev/null
+++ b/repo/woff2/install-executables.patch
@@ -0,0 +1,31 @@
+From b64df1afa8be8bf784e970aa47973ec420ac4381 Mon Sep 17 00:00:00 2001
+From: Jeremy Bicha <jbicha@ubuntu.com>
+Date: Thu, 7 Dec 2017 17:18:05 -0500
+Subject: [PATCH] Always install executables
+
+https://github.com/google/woff2/pull/106
+---
+ CMakeLists.txt | 10 ++++------
+ 1 file changed, 4 insertions(+), 6 deletions(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index ecfbb83..29c45b9 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -260,12 +260,10 @@ generate_pkg_config ("${CMAKE_CURRENT_BINARY_DIR}/libwoff2enc.pc"
+ LIBRARIES woff2enc)
+
+ # Installation
+-if (NOT BUILD_SHARED_LIBS)
+- install(
+- TARGETS woff2_decompress woff2_compress woff2_info
+- RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}"
+- )
+-endif()
++install(
++ TARGETS woff2_decompress woff2_compress woff2_info
++ RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}"
++)
+
+ install(
+ TARGETS woff2common woff2dec woff2enc