fix
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				BlockStorage/repertory_linux_builds/pipeline/head This commit looks good
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	BlockStorage/repertory_linux_builds/pipeline/head This commit looks good
				
			This commit is contained in:
		| @@ -28,6 +28,8 @@ | ||||
| #endif // defined(PROJECT_ENABLE_OPENSSL) | ||||
|  | ||||
| #if defined(PROJECT_REQUIRE_ALPINE) && !defined(PROJECT_IS_MINGW) | ||||
| #include <filesystem> | ||||
| #include <stdlib.h> | ||||
| #include <pthread.h> | ||||
| #endif // defined(PROJECT_REQUIRE_ALPINE) && !defined (PROJECT_IS_MINGW) | ||||
|  | ||||
| @@ -52,6 +54,12 @@ auto project_initialize() -> bool { | ||||
|     pthread_attr_setstacksize(&attr, stack_size); | ||||
|     pthread_attr_setguardsize(&attr, guard_size); | ||||
|     pthread_setattr_default_np(&attr); | ||||
|  | ||||
|     const auto icu_dir = | ||||
|         std::filesystem::absolute(std::filesystem::path{"./icu"}) | ||||
|             .lexically_normal() | ||||
|             .string(); | ||||
|     setenv("ICU_DATA", icu_dir.c_str(), 1); | ||||
|   } | ||||
| #endif // defined(PROJECT_REQUIRE_ALPINE) && !defined (PROJECT_IS_MINGW) | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user