Opened 17 years ago
Closed 17 years ago
#4516 closed patch (fixed)
Fix broken Win32 build (circular references out of control again).
Reported by: | Owned by: | Nigel | |
---|---|---|---|
Priority: | minor | Milestone: | 0.21 |
Component: | mythtv | Version: | head |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | no |
Description
Changes build order to build libmyth first, then libmythui and libmythupnp and puts back libmyth reference to libmythui and libmythupnp. This fixes MinGW builds for me (svn 15533).
Attachments (2)
Change History (9)
Changed 17 years ago by
Attachment: | mingw.patch added |
---|
comment:1 Changed 17 years ago by
Owner: | changed from Isaac Richards to Nigel |
---|---|
Status: | new → assigned |
comment:2 Changed 17 years ago by
comment:3 Changed 17 years ago by
Linux --as-needed builds currently need those libs to be built in that order.
For Win32, I want to do this a different way. Instead of libmyth depending on two sets of .def files, it is lower maintenance for both of libmythui and libmythupnp to both depend on the same .def file, which means they can use the same set of qmake rules,
included from the same place.
I will check in the fix soon. It is just taking me a while to get the Win32 build env working.
comment:4 Changed 17 years ago by
libmyth imports a lot fewer functions from libmythui and libmythupnp combined than each of them imports from libmyth, this is why this "direction" was chosen. Doing it in reverse order is possible but the .def file will be huge and unmaintainable - any time a function signature changes in libmyth, it would need to be updated.
comment:5 Changed 17 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Huge? Well, 50 symbols is too many, but I prefer that to 29 symbols spread over two files.
Anyway, [15553] should fix this all again? (without breaking the even more fragile Linux --as-needed)
comment:6 Changed 17 years ago by
Resolution: | fixed |
---|---|
Status: | closed → new |
One "tidyup" step is missing: clean up libmythtv.pro
Changed 17 years ago by
Attachment: | libmythtv.patch added |
---|
clean-up the circular reference workarounds (not necessary anymore)
comment:7 Changed 17 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
I can confirm that this builds on Win32 using the mingw.patch and these 3 other patches: util_win32.patch from #4497 backend.patch.gz from #4392 importicons_windows_2.diff from #3334