diff --git a/lib/omnibus/builder.rb b/lib/omnibus/builder.rb index efefdd450..0cc7fd8d0 100644 --- a/lib/omnibus/builder.rb +++ b/lib/omnibus/builder.rb @@ -217,6 +217,10 @@ def configure(*args) # Accept a prefix override if provided. Can be set to '' to suppress # this functionality. prefix = options.delete(:prefix) || "#{install_dir}/embedded" + + if windows_target? + prefix.sub! "C:/", "/c/" + end configure_cmd << "--prefix=#{prefix}" if prefix && prefix != "" configure_cmd.concat args