Skip to content

Commit 28e710c

Browse files
author
Harald Fielker
committed
fixed arm stuff
1 parent 653ff1c commit 28e710c

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

binding.gyp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@
2424
['OS=="mac"', {
2525
'javaver%' : "<!(awk -F/ -v h=`node findJavaHome.js` 'BEGIN {n=split(h, a); print a[2]; exit}')"
2626
}],
27+
['OS=="linux" and target_arch=="arm"', {
28+
'javalibdir%': "<!(h=\"`node findJavaHome.js`\" sh -c 'if [ -d \"$h/jre/lib/arm/classic\" ]; then echo $h/jre/arm/i386/classic; else echo $h/jre/lib/arm/server; fi')"
29+
}],
2730
['OS=="linux" and target_arch=="ia32"', {
2831
'javalibdir%': "<!(h=\"`node findJavaHome.js`\" sh -c 'if [ -d \"$h/jre/lib/i386/classic\" ]; then echo $h/jre/lib/i386/classic; else echo $h/jre/lib/i386/server; fi')"
2932
}],

0 commit comments

Comments
 (0)