Ticket #5610: plugin-targetdep.patch

File plugin-targetdep.patch, 1.8 KB (added by Nigel, 12 years ago)

Try this

  • programs-libs.pro

     
    1010
    1111# On Windows, libs are stored with the binaries:
    1212mingw:LIBS += -L$${PREFIX}/bin
     13
     14
     15include (../../targetdep.pro)
  • libs-targetfix.pro

     
    1515macx {
    1616    QMAKE_LFLAGS += -flat_namespace -undefined suppress
    1717}
     18
     19include (../../targetdep.pro)
  • targetdep.pro

     
     1# Trigger rebuilds if installed MythTV libs have changed
     2
     3
     4# Stolen from mythtv/settings.pro:
     5isEmpty(TARGET_OS) : win32     : QMAKE_EXTENSION_SHLIB=dll
     6contains(TARGET_OS, CYGWIN)    : QMAKE_EXTENSION_SHLIB=dll.a
     7isEmpty(QMAKE_EXTENSION_SHLIB) : QMAKE_EXTENSION_SHLIB=so
     8isEmpty(QMAKE_EXTENSION_LIB)   : QMAKE_EXTENSION_LIB=a
     9MYTH_SHLIB_EXT=$${LIBVERSION}.$${QMAKE_EXTENSION_SHLIB}
     10MYTH_LIB_EXT  =$${LIBVERSION}.$${QMAKE_EXTENSION_LIB}
     11
     12
     13TARGETDEPS += $${LIBDIR}/libmyth-$${MYTH_SHLIB_EXT}
     14TARGETDEPS += $${LIBDIR}/libmythdb-$${MYTH_SHLIB_EXT}
     15TARGETDEPS += $${LIBDIR}/libmythtv-$${MYTH_SHLIB_EXT}
     16TARGETDEPS += $${LIBDIR}/libmythui-$${MYTH_SHLIB_EXT}
     17TARGETDEPS += $${LIBDIR}/libmythupnp-$${MYTH_SHLIB_EXT}
     18TARGETDEPS += $${LIBDIR}/libmythavutil-$${MYTH_SHLIB_EXT}
     19TARGETDEPS += $${LIBDIR}/libmythavcodec-$${MYTH_SHLIB_EXT}
     20TARGETDEPS += $${LIBDIR}/libmythavformat-$${MYTH_SHLIB_EXT}
     21TARGETDEPS += $${LIBDIR}/libmythfreemheg-$${MYTH_SHLIB_EXT}
     22TARGETDEPS += $${LIBDIR}/libmythlivemedia-$${MYTH_SHLIB_EXT}