Ticket #5490: libs.patch
File libs.patch, 2.3 KB (added by , 16 years ago) |
---|
-
libs-dephack.pro
4 4 5 5 #macx:QMAKE_LFLAGS_SHLIB += -undefined warning 6 6 7 mingw {8 # Worked around by building libmyth first,9 # with dlltool faking the symbols from the other two libs10 LIBS += -L../libmyth -lmyth-$$LIBVERSION11 }12 13 7 #unix { 14 8 # Search for --as-needed in the link paths, and remove it 15 9 #} -
libmyth/libmyth.pro
103 103 } 104 104 105 105 mingw { 106 include ( ../libs-windows.pro )107 108 106 SOURCES += mediamonitor-windows.cpp audiooutputwin.cpp 109 107 HEADERS += mediamonitor-windows.h audiooutputwin.h 110 108 111 109 LIBS += -lpthread -lwinmm -lws2_32 112 113 LIBS -= -lmythui-$$LIBVERSION -lmythupnp-$$LIBVERSION114 LIBS += -L. -lmythui-bootstrap -lmythupnp-bootstrap115 POST_TARGETDEPS += libmythui-bootstrap.a libmythupnp-bootstrap.a116 implib.target = libmythui-bootstrap.a117 implib.depends = ../libmythui/libmythui.def118 implib.commands = dlltool --input-def $$implib.depends \119 --dllname libmythui-$${LIBVERSION}.dll \120 --output-lib $$implib.target -k121 implib2.target = libmythupnp-bootstrap.a122 implib2.depends = ../libmythupnp/libmythupnp.def123 implib2.commands = dlltool --input-def $$implib2.depends \124 --dllname libmythupnp-$${LIBVERSION}.dll \125 --output-lib $$implib2.target -k126 QMAKE_EXTRA_WIN_TARGETS += implib implib2127 110 } 128 111 129 112 macx { -
libmythdb/mythdbcon.cpp
8 8 #include "mythdbcon.h" 9 9 #include "mythdb.h" 10 10 #include "mythverbose.h" 11 #include "compat.h" 11 12 12 13 QMutex MSqlQuery::prepareLock(false); 13 14 -
libmythdb/libmythdb.pro
46 46 47 47 include ( ../libs-targetfix.pro ) 48 48 49 mingw:LIBS += -lpthread -lws2_32