mirror of
https://github.com/rehlds/rehlds.git
synced 2024-12-27 23:25:45 +03:00
Link libstdc++ statically on linux
Updated gradle to 2.4 Updated gradle-cpp-plugin to 1.2
This commit is contained in:
parent
80692e3821
commit
b6c01cdd4c
@ -48,5 +48,5 @@ project.version = versionInfo.asMavenVersion()
|
||||
apply from: 'publish.gradle'
|
||||
|
||||
task wrapper(type: Wrapper) {
|
||||
gradleVersion = '2.4-rc-2'
|
||||
gradleVersion = '2.4'
|
||||
}
|
||||
|
@ -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'
|
||||
|
||||
|
4
gradle/wrapper/gradle-wrapper.properties
vendored
4
gradle/wrapper/gradle-wrapper.properties
vendored
@ -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
|
||||
|
@ -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) {
|
||||
|
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user