Skip to content

Commit

Permalink
gnupg: use --with-readline configure flag
Browse files Browse the repository at this point in the history
as readline is keg-only, gnupg cannot find the appropriate libraries
when building. this results in a linker error when building on arm64
macos. providing the correct path to readline allows this formula to
build without issue.
  • Loading branch information
dshick-nydig committed Dec 18, 2024
1 parent 3028c14 commit 202c33e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Formula/g/gnupg.rb
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ def install
"--enable-all-tests",
"--sysconfdir=#{etc}",
"--with-pinentry-pgm=#{Formula["pinentry"].opt_bin}/pinentry",
"--with-readline=#{Formula["readline"].opt_prefix}",
*std_configure_args
system "make"
system "make", "check"
Expand Down

0 comments on commit 202c33e

Please sign in to comment.