I'll attach a patch that will do two things: - Respect the LDFLAGS variable for the linking of pdftoraster - Change the linking order so linking with "--Wl,--as-needed" will work Please apply.
Created attachment 4782 [details] ghostscript-gpl-8.64-as-needed.diff
Applied in r9461. Thanks.