We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7908b3a commit 1dd3ba4Copy full SHA for 1dd3ba4
avrdude-6.3.build.bash
@@ -20,6 +20,7 @@ cd objdir
20
PREFIX=`pwd`
21
cd -
22
23
+rm -rf avrdude-6.3
24
git clone https://github.com/facchinm/avrdude.git avrdude-6.3 --depth 1
25
26
cd avrdude-6.3
@@ -44,6 +45,11 @@ CFLAGS="-DHAVE_LIBHIDAPI $CFLAGS"
44
45
LIBS="-lhidapi -lsetupapi"
46
fi
47
48
+if [[ $OS == "Msys" ]] ; then
49
+ CFLAGS="-DHAVE_LIBHIDAPI $CFLAGS"
50
+ LIBS="-lhidapi -lsetupapi -Wl,-Bstatic -lwinpthread"
51
+fi
52
+
53
if [[ $OS == "Darwin" ]] ; then
54
CFLAGS="-DHAVE_LIBHIDAPI $CFLAGS"
55
LIBS="-lhidapi"
0 commit comments