From 9129b8e9a750bf4ddad6ed86c2860de28ca231bc Mon Sep 17 00:00:00 2001 From: Jesse Vincent Date: Fri, 2 Jun 2017 23:28:48 -0700 Subject: [PATCH] Switch up the -libraries order so the local version of a library gets found first --- tools/kaleidoscope-builder | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/kaleidoscope-builder b/tools/kaleidoscope-builder index 6f59e2bc..435964e2 100755 --- a/tools/kaleidoscope-builder +++ b/tools/kaleidoscope-builder @@ -117,10 +117,10 @@ compile () { ${ARDUINO_TOOLS_PARAM} \ -tools "${ARDUINO_PATH}/tools-builder" \ -fqbn "${FQBN}" \ - ${local_LIBS} \ + -libraries "." \ + -libraries "${ROOT}" \ -libraries "${BOARD_HARDWARE_PATH}/.." \ - -libraries "${ROOT}" \ - -libraries "." \ + ${local_LIBS} \ ${EXTRA_BUILDER_ARGS} \ -build-path "${BUILD_PATH}" \ -ide-version "${ARDUINO_IDE_VERSION}" \