Skip to content

Commit 68d8f03

Browse files
committed
Missed variable name replacement.
1 parent c20d61b commit 68d8f03

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/arduino_ci/cpp_library.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -523,7 +523,7 @@ def build_shared_library(aux_libraries, gcc_binary, ci_gcc_config)
523523
Dir.mkdir BUILD_DIR unless File.exist?(BUILD_DIR)
524524
if OS.windows?
525525
flag = ENV["PATH"].include? ";"
526-
ENV["PATH"] = BUILD_DIR + (flag ? ";" : ":") + ENV["PATH"] unless ENV["PATH"].include? build_dir
526+
ENV["PATH"] = BUILD_DIR + (flag ? ";" : ":") + ENV["PATH"] unless ENV["PATH"].include? BUILD_DIR
527527
suffix = "dll"
528528
else
529529
ENV["LD_LIBRARY_PATH"] = BUILD_DIR

0 commit comments

Comments
 (0)