Skip to content

Commit e94ecea

Browse files
committed
Fix osxcross build
1 parent ed499a0 commit e94ecea

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

compile_cross.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,10 @@ make ftdi1-static
102102
cd ..
103103
cd ..
104104

105+
if [[ ${ARCH} == *darwin* ]]; then
106+
x86_64-apple-darwin13-ranlib $LIBFTDI1_DIR/build/src/libftdi1.a
107+
fi
108+
105109
cd OpenOCD
106110
./bootstrap
107111
export LIBUSB0_CFLAGS="-I$LIBUSB0_DIR/libusb/"

0 commit comments

Comments
 (0)