Skip to content

Commit

Permalink
Add postgresql lib and includes
Browse files Browse the repository at this point in the history
  • Loading branch information
m-hofmann-a9s committed Dec 10, 2024
1 parent dad4e83 commit 0919352
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Formula/minetest.rb
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@ def install
-DCMAKE_EXE_LINKER_FLAGS='-L#{Formula["freetype"].opt_lib}'
-DENABLE_GETTEXT=1
-DCUSTOM_GETTEXT_PATH=#{Formula["gettext"].opt_prefix}
-DPostgreSQL_INCLUDE_DIR='#{Formula["postgresql"].opt_prefix}'
-DPostgreSQL_LIBRARY='#{Formula["postgresql"].opt_lib}'
]
# Workaround for 'Could NOT find GettextLib (missing: ICONV_LIBRARY)'
args << "-DICONV_LIBRARY=#{MacOS.sdk_path}/usr/lib/libiconv.tbd" if OS.mac? && MacOS.version >= :big_sur
Expand Down

0 comments on commit 0919352

Please sign in to comment.