[Commits] [wesnoth/wesnoth] 005f11: SConstruct: Do not link with libintl - Wesnoth now...

GitHub noreply at github.com
Wed Dec 31 01:18:04 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 005f11b75911db83037dc7326316c0efbeb33986
      https://github.com/wesnoth/wesnoth/commit/005f11b75911db83037dc7326316c0efbeb33986
  Author: anatoly techtonik <techtonik at gmail.com>
  Date:   2014-12-26 (Fri, 26 Dec 2014)

  Changed paths:
    M SConstruct

  Log Message:
  -----------
  SConstruct: Do not link with libintl - Wesnoth now uses boost::locale

http://forums.wesnoth.org/viewtopic.php?f=10&p=577648

This fixes compilation error on MinGW:
...
g++ -o wesnothd.exe -mwindows -mthreads build\release\sd... -lboost_locale-mgw49-mt-1_57 -lwsock32 -lintl -lz
../lib/gcc/i686-w64-mingw32/4.9.2/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -lintl
collect2.exe: error: ld returned 1 exit status
scons: *** [wesnothd.exe] Error 1
scons: building terminated because of errors.


  Commit: 2a7b1f912c9888cfda18a6d194a04770a2bef943
      https://github.com/wesnoth/wesnoth/commit/2a7b1f912c9888cfda18a6d194a04770a2bef943
  Author: anatoly techtonik <techtonik at gmail.com>
  Date:   2014-12-26 (Fri, 26 Dec 2014)

  Changed paths:
    M SConstruct

  Log Message:
  -----------
  SConstruct: Link with iconv on Windows to fix GetACP error on MinGW:

i686-w64-mingw32/lib/../lib/libiconv.a(localcharset.o):localcharset.c:(.text+0x7): undefined reference to `_imp__GetACP at 0'

https://stackoverflow.com/questions/16558813/link-error-with-getacp-under-mingw64-mingw-builds


  Commit: 9cd90997c432d29d9e74f699ae17a34c56bd1323
      https://github.com/wesnoth/wesnoth/commit/9cd90997c432d29d9e74f699ae17a34c56bd1323
  Author: Chris Beck <beck.ct at gmail.com>
  Date:   2014-12-30 (Tue, 30 Dec 2014)

  Changed paths:
    M SConstruct

  Log Message:
  -----------
  Merge pull request #347 from techtonik/scons2014

Fix compilation with MinGW on Windows


Compare: https://github.com/wesnoth/wesnoth/compare/db27f81d0fdf...9cd90997c432


More information about the Commits mailing list