apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Henry Jen <henry...@ztune.net>
Subject [PATCH] dbd.m4: use LDFLAGS instead of LIBS is required on Solaris
Date Thu, 30 Mar 2006 19:46:19 GMT

AC_CHECK_LIB is performed as "$CC $CFLAGS $LDFLAGS -llib $LIBS conftest.c"

With Sun Studio, -L needs to be in front of -l flag, which makes sense 
when you need control on which lib to be linked with.

In dbd.m4, using LIBS to define the -L flag, which should really be 
LDFLAGS, the attached patch does just that.

Please help to review and commit the patch. Much appreciated.


View raw message