diff --git a/Formula/g/ghostscript.rb b/Formula/g/ghostscript.rb index 7b638e7469bd..aed4b76882b8 100644 --- a/Formula/g/ghostscript.rb +++ b/Formula/g/ghostscript.rb @@ -71,6 +71,8 @@ def install --with-system-libtiff --without-x] + # Set the correct library install names so that `brew` doesn't need to fix them up later. + ENV["DARWIN_LDFLAGS_SO_PREFIX"] = "#{opt_lib}/" system configure, *std_configure_args, *args # Install binaries and libraries