Hi Charles, On 26/09/11 00:18, Charles Kerr wrote: >> Would you also accept a patch to the build system, so that it doesn't check >> for the existence of the libutp.a file to decide whether to link against it >> (instead looking for something generated during the configure phase, like a >> Makefile)? > > Probably so, if the patch was straightforward.
The attached patch is as straightforward as it gets! :) I just built 2.33 with it and found no issues (libutp gets built and tr-qt links against it). I'd appreciate if someone could build it on a non-Debian system, just to make sure there are no side-effects. Should I forward this to the trac? Cheers -- Leo "costela" Antunes [insert a witty retort here]
Index: repo/qt/qtr.pro =================================================================== --- repo.orig/qt/qtr.pro 2011-07-04 16:48:11.454477073 +0200 +++ repo/qt/qtr.pro 2011-09-26 10:25:24.063146592 +0200 @@ -19,7 +19,7 @@ INCLUDEPATH = $${EVENT_TOP}/include $${INCLUDEPATH} INCLUDEPATH += $${TRANSMISSION_TOP} LIBS += $${TRANSMISSION_TOP}/libtransmission/libtransmission.a -exists( $${TRANSMISSION_TOP}/third-party/libutp/libutp.a ) { +exists( $${TRANSMISSION_TOP}/third-party/libutp/Makefile ) { LIBS += $${TRANSMISSION_TOP}/third-party/libutp/libutp.a } LIBS += $${TRANSMISSION_TOP}/third-party/dht/libdht.a