Skip to content

Commit d02268f

Browse files
authored
Merge pull request #29 from arduino/fix-go-cross
fix bug introduced in 0227b7e
2 parents f970f68 + 84812d8 commit d02268f

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

DistTasks.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ tasks:
7272
vars:
7373
PLATFORM_DIR: "{{.PROJECT_NAME}}_windows_amd64"
7474
HOST: "x86_64-w64-mingw32"
75-
BUILD_LIBUSB: >
75+
BUILD_COMMAND: >
7676
curl -L https://github.com/libusb/libusb/releases/download/v1.0.26/libusb-1.0.26.tar.bz2 | tar xj &&
7777
cd libusb-1.0.26/ &&
7878
./configure --with-pic --disable-udev --enable-static --disable-shared --host={{.HOST}} &&
@@ -104,7 +104,7 @@ tasks:
104104
vars:
105105
PLATFORM_DIR: "{{.PROJECT_NAME}}_linux_amd32"
106106
HOST: "i386-linux-gnu"
107-
BUILD_LIBUSB: >
107+
BUILD_COMMAND: >
108108
curl -L https://github.com/libusb/libusb/releases/download/v1.0.26/libusb-1.0.26.tar.bz2 | tar xj &&
109109
cd libusb-1.0.26/ &&
110110
CFLAGS=-m32 CXXFLAGS=-m32 ./configure --with-pic --disable-udev --enable-static --disable-shared --host={{.HOST}} &&
@@ -136,7 +136,7 @@ tasks:
136136
vars:
137137
PLATFORM_DIR: "{{.PROJECT_NAME}}_linux_amd64"
138138
HOST: ""
139-
BUILD_LIBUSB: >
139+
BUILD_COMMAND: >
140140
curl -L https://github.com/libusb/libusb/releases/download/v1.0.26/libusb-1.0.26.tar.bz2 | tar xj &&
141141
cd libusb-1.0.26/ &&
142142
./configure --with-pic --disable-udev --enable-static --disable-shared --host={{.HOST}} &&
@@ -168,7 +168,7 @@ tasks:
168168
vars:
169169
PLATFORM_DIR: "{{.PROJECT_NAME}}_linux_arm_7"
170170
HOST: "arm-linux-gnueabihf"
171-
BUILD_LIBUSB: >
171+
BUILD_COMMAND: >
172172
curl -L https://github.com/libusb/libusb/releases/download/v1.0.26/libusb-1.0.26.tar.bz2 | tar xj &&
173173
cd libusb-1.0.26/ &&
174174
./configure --with-pic --disable-udev --enable-static --disable-shared --host={{.HOST}} &&
@@ -200,7 +200,7 @@ tasks:
200200
vars:
201201
PLATFORM_DIR: "{{.PROJECT_NAME}}_linux_arm_6"
202202
HOST: "arm-linux-gnueabi"
203-
BUILD_LIBUSB: >
203+
BUILD_COMMAND: >
204204
curl -L https://github.com/libusb/libusb/releases/download/v1.0.26/libusb-1.0.26.tar.bz2 | tar xj &&
205205
cd libusb-1.0.26/ &&
206206
./configure --with-pic --disable-udev --enable-static --disable-shared --host={{.HOST}} &&
@@ -232,7 +232,7 @@ tasks:
232232
vars:
233233
PLATFORM_DIR: "{{.PROJECT_NAME}}_linux_arm_64"
234234
HOST: "aarch64-linux-gnu"
235-
BUILD_LIBUSB: >
235+
BUILD_COMMAND: >
236236
curl -L https://github.com/libusb/libusb/releases/download/v1.0.26/libusb-1.0.26.tar.bz2 | tar xj &&
237237
cd libusb-1.0.26/ &&
238238
./configure --with-pic --disable-udev --enable-static --disable-shared --host={{.HOST}} &&
@@ -265,7 +265,7 @@ tasks:
265265
vars:
266266
PLATFORM_DIR: "{{.PROJECT_NAME}}_osx_darwin_amd64"
267267
HOST: "x86_64-apple-darwin20.4"
268-
BUILD_LIBUSB: >
268+
BUILD_COMMAND: >
269269
curl -L https://github.com/libusb/libusb/releases/download/v1.0.26/libusb-1.0.26.tar.bz2 | tar xj &&
270270
cd libusb-1.0.26/ &&
271271
./configure --with-pic --disable-udev --enable-static --disable-shared --host={{.HOST}} &&
@@ -311,7 +311,7 @@ tasks:
311311
vars:
312312
PLATFORM_DIR: "{{.PROJECT_NAME}}_osx_darwin_arm64"
313313
HOST: "aarch64-apple-darwin20.4"
314-
BUILD_LIBUSB: >
314+
BUILD_COMMAND: >
315315
curl -L https://github.com/libusb/libusb/releases/download/v1.0.26/libusb-1.0.26.tar.bz2 | tar xj &&
316316
cd libusb-1.0.26/ &&
317317
./configure --with-pic --disable-udev --enable-static --disable-shared --host={{.HOST}} &&

0 commit comments

Comments
 (0)