File: unbundle-native-library.patch

package info (click to toggle)
lz4-java 1.8.0-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 2,228 kB
  • sloc: java: 5,050; xml: 413; ansic: 260; makefile: 28
file content (21 lines) | stat: -rw-r--r-- 739 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Description: Do not bundle the native library inside the jar
Author: Emmanuel Bourg <ebourg@apache.org>
Forwarded: not-needed
--- a/build.xml
+++ b/build.xml
@@ -288,6 +288,7 @@
       dir="${java.io.tmpdir}"
       maxmemory="300m"
       parallelism="auto">
+      <sysproperty key="java.library.path" value="${build}" />
       <assertions>
         <enable package="net.jpountz.lz4"/>
       </assertions>
@@ -361,7 +362,6 @@
       <fileset dir="${build}/classes" />
       <fileset dir="${build}/unsafe-classes" />
       <fileset dir="${build}/generated-classes" />
-      <fileset dir="${build}/jni" erroronmissingdir="false" />
       <manifest>
 	<attribute name="Automatic-Module-Name" value="org.lz4.java"/>
       </manifest>