URL:
<http://gna.org/bugs/?21378>
Summary: Linking win32 SDL-mixer to Qt-client fails
Project: Freeciv
Submitted by: cazfi
Submitted on: Fri 27 Dec 2013 08:04:56 AM EET
Category: bootstrap
Severity: 3 - Normal
Priority: 5 - Normal
Status: Ready For Test
Assigned to: None
Originator Email:
Open/Closed: Open
Release:
Discussion Lock: Any
Operating System: Microsoft Windows
Planned Release: 2.5.0, 2.6.0
_______________________________________________________
Details:
While building Qt-client for crosser environment with sound enabled:
CXXLD freeciv-qt.exe
/work/freeciv/winchain/qttest/lib/libSDLmain.a(SDL_win32_main.o): In function
`console_main':
src/SDL-1.2.15/src/main/win32/SDL_win32_main.c:315: undefined reference to
`_SDL_main'
This is due to libSDLmain.a being static library, and thus linking order
matters. Attached patch fixes this (gtk clients already have similar linking)
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Fri 27 Dec 2013 08:04:56 AM EET Name: WinSdlQtLink.patch Size: 521B
By: cazfi
<http://gna.org/bugs/download.php?file_id=19526>
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?21378>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev