Ticket #4270: transmission_qt_utp.patch

File transmission_qt_utp.patch, 690 bytes (added by thomasg, 11 years ago)

qtr build fix

  • qt/qtr.pro

     
    1919INCLUDEPATH = $${EVENT_TOP}/include $${INCLUDEPATH}
    2020INCLUDEPATH += $${TRANSMISSION_TOP}
    2121LIBS += $${TRANSMISSION_TOP}/libtransmission/libtransmission.a
    22 LIBS += $${TRANSMISSION_TOP}/third-party/libutp/libutp.a
     22exists( $${TRANSMISSION_TOP}/third-party/libutp/libutp.a ) {
     23    LIBS += $${TRANSMISSION_TOP}/third-party/libutp/libutp.a
     24}
    2325LIBS += $${TRANSMISSION_TOP}/third-party/dht/libdht.a
    2426LIBS += $${TRANSMISSION_TOP}/third-party/miniupnp/libminiupnp.a
    2527LIBS += $${TRANSMISSION_TOP}/third-party/libnatpmp/libnatpmp.a