On Sun, 15 Jan 2012 17:12:04 +0100, Julian Taylor <jtaylor.deb...@googlemail.com> wrote: > On 01/15/2012 05:03 PM, Antoine Beaupré wrote: > > On Sat, 07 Jan 2012 21:39:56 +0100, Julian Taylor > > <jtaylor.deb...@googlemail.com> wrote: > >> bantool: ${BANTOOL_OBJECTS} > >> - ${CC} ${CFLAGS} ${LDFLAGS} -o $@ ${BANTOOL_OBJECTS} ${IRCDLIBS} > >> + ${CC} ${CFLAGS} ${LDFLAGS} -o $@ ${BANTOOL_OBJECTS} ${IRCDLIBS} ${LIBS} > > > > I am not sure how this fixes the problem: isn't the -lsqlite3 flag still > > in ${IRCDLIBS}? > > > > If this patch was tested and works, I'll gladly commit it. :) > > > > A. > > > > the issue is that lsqlite3 was in LDFLAGS before which is placed before > the objects > I moved it to LIBS the variable where libraries are usually placed. > > true, it is now in IRCDLIBS and LIBS, so you can remove the additional > LIBS there. > (though specifying a library multiple times does no harm.) > > The patch was build-tested in ubuntu and debian, but I did no runtime tests.
I guess what gets me confused is that you didn't actually *move* the -lsqlite3 call, from what I can tell, you just added it to the end. If it works, that's fine I guess, but it feels wrong. Also, now you're saying the above hunk is not required anymore, is that correct? A. -- La nature n'a créé ni maîtres ni esclaves Je ne veux ni donner ni recevoir de lois. - Denis Diderot
pgpn5g3D9g95U.pgp
Description: PGP signature