Skip to content

Commit

Permalink
ushare - fix gettext include
Browse files Browse the repository at this point in the history
  • Loading branch information
adamv committed Mar 29, 2011
1 parent fc30dd1 commit ac9a852
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Library/Formula/ushare.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ def patches

def install
# Need to explicitly add gettext here.
gettext = Formula.factory("gettext")
ENV.append 'LDFLAGS', "-lintl"
ENV.append 'CFLAGS', "-I#{gettext.include}"

inreplace 'configure', /config.h/, 'src/config.h'
system "./configure", "--disable-debug",
Expand Down

0 comments on commit ac9a852

Please sign in to comment.