Skip to content

Commit

Permalink
Added gettext flags to prevent 'libintl.h' file not found errors (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
boris-glumpler authored May 6, 2024
1 parent be61791 commit 45ea0d3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Formula/postgresql@16.rb
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ def install
ENV.prepend "LDFLAGS", "-L#{Formula["openssl@3"].opt_lib} -L#{Formula["readline"].opt_lib}"
ENV.prepend "CPPFLAGS", "-I#{Formula["openssl@3"].opt_include} -I#{Formula["readline"].opt_include}"

# Fix 'libintl.h' file not found for extensions
ENV.prepend "LDFLAGS", "-L#{Formula["gettext"].opt_lib}"
ENV.prepend "CPPFLAGS", "-I#{Formula["gettext"].opt_include}"

args = %W[
--disable-debug
--prefix=#{prefix}
Expand Down

0 comments on commit 45ea0d3

Please # to comment.