aboutsummaryrefslogtreecommitdiffstats
path: root/community/java-lz4/0002-dont-bundle-natives.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/java-lz4/0002-dont-bundle-natives.patch')
-rw-r--r--community/java-lz4/0002-dont-bundle-natives.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/community/java-lz4/0002-dont-bundle-natives.patch b/community/java-lz4/0002-dont-bundle-natives.patch
new file mode 100644
index 0000000000..ae90e29b1b
--- /dev/null
+++ b/community/java-lz4/0002-dont-bundle-natives.patch
@@ -0,0 +1,23 @@
+From: Jakub Jirutka <jakub@jirutka.cz>
+Date: Thu, 7 Apr 2016 21:06:00 +0200
+Subject: [PATCH] Do not bundle native binaries into JAR
+
+The native library will be installed into /usr/lib as all other
+platform-specific libraries.
+---
+diff --git a/build.xml b/build.xml
+index 841582e..901b880 100644
+--- a/build.xml
++++ b/build.xml
+@@ -280,11 +280,9 @@
+ <mkdir dir="${dist}" />
+ <jar
+ destfile="${dist}/${ivy.module}.jar">
+- <fileset dir="${src}/resources" erroronmissingdir="false" />
+ <fileset dir="${build}/classes" />
+ <fileset dir="${build}/unsafe-classes" />
+ <fileset dir="${build}/generated-classes" />
+- <fileset dir="${build}/jni" erroronmissingdir="false" />
+ </jar>
+ </target>
+