recode: help the linker find libiconv

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
master
Jack Nagel 2012-02-27 14:18:12 -06:00
parent c1fd9b501e
commit ce4b06eea7
1 changed files with 2 additions and 0 deletions

View File

@ -15,6 +15,8 @@ class Recode < Formula
end
def install
ENV.append 'LDFLAGS', '-liconv'
if MacOS.xcode_version >= "4.3"
d = "#{HOMEBREW_PREFIX}/share/libtool/config"
cp ["#{d}/config.guess", "#{d}/config.sub"], "."