diff --git a/Library/Homebrew/extend/ENV/shared.rb b/Library/Homebrew/extend/ENV/shared.rb index fec709ffbcbcbc6663e7ce5c8226f225e3e3ec68..30a3d232fea83b7cf845fcf2fd8c89dd3d47144f 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)