Skip to content

Commit 65ecd55

Browse files
committed
automatic arch variable
1 parent 143b41a commit 65ecd55

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

binding.gyp

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
{
22
"variables": {
3-
#"arch%": "amd64"
4-
"arch%": "i386" # linux JVM architecture. See $(JAVA_HOME)jre/lib/<@(arch)/server/
3+
"arch%": "amd64", # linux JVM architecture. See $(JAVA_HOME)jre/lib/<@(arch)/server/
4+
'conditions': [
5+
['target_arch=="ia32"', {
6+
'arch%': "i386"
7+
}]
8+
]
59
},
610
"targets": [
711
{

0 commit comments

Comments
 (0)