[mythtv] Ticket #4497: Win32 builds broken after r15435
Nigel Pearson
nigel at ind.tansu.com.au
Tue Jan 22 03:15:06 UTC 2008
> Any idea on how we could fix this issue?
Create a libs/libmyth/libmyth.def containing all the symbols
from that library that libmythui and libmythupnp require,
and add rules in the latter two directories' .pro files.
Something like:
mingw {
target.path = $${PREFIX}/bin
implib.target = libmyth-bootstrap.a
implib.commands = test -e libmyth-bootstrap.a || dlltool --input-
def ../libmyth/libmyth.def --dllname libmyth-$${LIBVERSION}.dll --
output-lib libmyth-bootstrap.a -k
QMAKE_EXTRA_WIN_TARGETS += implib
POST_TARGETDEPS += libmyth-bootstrap.a
}
The existing commands like that can probably
also be removed from libs/libmyth/libmyth.pro
I'm trying to setup a Win32 build env now,
but being a Mac and Unix head means that
this is an exercise in cursing and grumbling.
You might be able to fix & test faster than me.
--
Nigel Pearson, nigel at ind.tansu.com.au| I've been talking to-
Telstra Net. Eng., Sydney, Australia | the ship's computer.
Office: 9202 3900 Fax: 9261 3912 | ... It hates me!
Mobile: 0408 664435 Home: 9792 6998 | Marvin
More information about the mythtv-dev
mailing list