2
0
mirror of https://github.com/rehlds/rehlds.git synced 2024-12-28 15:45:46 +03:00

Link libstdc++ statically on linux

Updated gradle to 2.4
Updated gradle-cpp-plugin to 1.2
This commit is contained in:
dreamstalker 2015-06-06 23:33:44 +04:00
parent 80692e3821
commit b6c01cdd4c
5 changed files with 7 additions and 5 deletions

View File

@ -48,5 +48,5 @@ project.version = versionInfo.asMavenVersion()
apply from: 'publish.gradle'
task wrapper(type: Wrapper) {
gradleVersion = '2.4-rc-2'
gradleVersion = '2.4'
}

View File

@ -19,7 +19,7 @@ dependencies {
compile 'commons-lang:commons-lang:2.6'
compile 'joda-time:joda-time:2.7'
compile 'org.doomedsociety.gradlecpp:gradle-cpp-plugin:1.1'
compile 'org.doomedsociety.gradlecpp:gradle-cpp-plugin:1.2'
compile 'org.eclipse.jgit:org.eclipse.jgit:3.7.0.201502260915-r'

View File

@ -1,6 +1,6 @@
#Sat May 02 13:29:15 BRT 2015
#Sat Jun 06 16:31:05 BRT 2015
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-2.4-rc-2-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-2.4-all.zip

View File

@ -156,7 +156,7 @@ void setupToolchain(NativeBinarySpec b) {
])
cfg.compilerOptions.args '-Qoption,cpp,--treat_func_as_string_literal_cpp'
cfg.projectLibpath(project, '/lib/linux32')
cfg.extraLibs 'dl', 'm', 'stdc++', 'steam_api'
cfg.extraLibs 'dl', 'm', 'steam_api'
}
if (!unitTestExecutable && !swdsLib) {

View File

@ -24,6 +24,7 @@ rootProject.ext.createIccConfig = { boolean release, BinaryKind binKind ->
stripSymbolTable: true,
staticLibGcc: true,
staticIntel: true,
staticLibStdCpp: true,
),
librarianOptions: new GccToolchainConfig.LibrarianOptions(
@ -48,6 +49,7 @@ rootProject.ext.createIccConfig = { boolean release, BinaryKind binKind ->
stripSymbolTable: false,
staticLibGcc: true,
staticIntel: true,
staticLibStdCpp: true,
),
librarianOptions: new GccToolchainConfig.LibrarianOptions(