[geany/geany] e5eb69: Add linker flags -static-libgcc and -static-libstdc++ on Windows
Enrico Tröger
git-noreply at xxxxx
Sun Apr 13 09:00:56 UTC 2014
Branch: refs/heads/master
Author: Enrico Tröger <enrico.troeger at uvena.de>
Committer: Enrico Tröger <enrico.troeger at uvena.de>
Date: Sun, 13 Apr 2014 09:00:56 UTC
Commit: e5eb69b20c103925a8a6494f5f4fc4d4ce8b978e
https://github.com/geany/geany/commit/e5eb69b20c103925a8a6494f5f4fc4d4ce8b978e
Log Message:
-----------
Add linker flags -static-libgcc and -static-libstdc++ on Windows
This seems necessary with newer gcc versions to not
require libgcc*.dll libraries on runtime.
Modified Paths:
--------------
wscript
Modified: wscript
5 files changed, 4 insertions(+), 1 deletions(-)
===================================================================
@@ -245,7 +245,10 @@ def configure(conf):
# DATADIR is defined in objidl.h, so we remove it from config.h but keep it in env
conf.undefine('DATADIR')
conf.env['DATADIR'] = os.path.join(conf.env['PREFIX'], 'data')
- conf.env.append_value('LINKFLAGS_cprogram', ['-mwindows'])
+ conf.env.append_value('LINKFLAGS_cprogram', [
+ '-mwindows',
+ '-static-libgcc',
+ '-static-libstdc++'])
conf.env.append_value('LIB_WIN32', ['wsock32', 'uuid', 'ole32', 'iberty'])
else:
conf.env['cshlib_PATTERN'] = '%s.so'
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
More information about the Commits
mailing list