Re: Automake issues on pngnq
Am Tue, Mar 08, 2022 at 01:07:05AM +0500 schrieb Andrey Rahmatullin:
> On Mon, Mar 07, 2022 at 08:59:38PM +0100, Andreas Tille wrote:
> > For whatever reason automake puts LDFLAGS before "-o pngcomp"
> This is correct.
>
> > instead of after and the last options are obtained from the LIBS variable.
> This is correct.
>
> > I have no idea how to tweak this sequence.
> You don't need to tweak the sequence. You need to put libs into LIBS.
I was checking this as well - seems here is something broken:
# checks for libraries
AC_SEARCH_LIBS([zlibVersion],[z])
AC_SEARCH_LIBS([sqrt],[m])
PKG_CHECK_MODULES([PNG], [libpng >= 1.2.0])
Any idea how to make sure the correct -lpng expression is added here?
Kind regards
Andreas.
--
http://fam-tille.de
Reply to: