diff --git a/Library/Homebrew/extend/ENV/shared.rb b/Library/Homebrew/extend/ENV/shared.rb index fec709ffbc..30a3d232fe 100644 --- a/Library/Homebrew/extend/ENV/shared.rb +++ b/Library/Homebrew/extend/ENV/shared.rb @@ -182,7 +182,7 @@ module SharedEnvExtension def ld64 ld64 = Formula.factory('ld64') self['LD'] = ld64.bin/'ld' - append "LDFLAGS", "-B#{ld64.bin.to_s+"/"}" + append "LDFLAGS", "-B#{ld64.bin}/" end def warn_about_non_apple_gcc(gcc)