From ddc6d1e3d4da25f6f761f4c4dcceaf2fb1ac521e Mon Sep 17 00:00:00 2001 From: dreamstalker Date: Fri, 12 Jun 2015 17:15:23 -0500 Subject: [PATCH] Link clock_gettime from librt to avoid dependency of GLIBC_1.17 --- gradlew | 0 rehlds/build.gradle | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) mode change 100644 => 100755 gradlew diff --git a/gradlew b/gradlew old mode 100644 new mode 100755 diff --git a/rehlds/build.gradle b/rehlds/build.gradle index 7c6e896..feab1ae 100644 --- a/rehlds/build.gradle +++ b/rehlds/build.gradle @@ -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', 'steam_api' + cfg.extraLibs 'rt', 'dl', 'm', 'steam_api' } if (!unitTestExecutable && !swdsLib) {