From: Charles Giessen Date: Tue, 13 Aug 2024 14:00:44 +0000 (-0500) Subject: Check that ar_path is defined before use X-Git-Tag: upstream/1.3.296~21 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=83cd92c725987857a84c871bd8bc11b249d239b1;p=platform%2Fupstream%2FVulkan-Loader.git Check that ar_path is defined before use --- diff --git a/BUILD.gn b/BUILD.gn index 10c483c5..a5d768c1 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -98,7 +98,7 @@ if (!is_android) { library_type = "static_library" } support_unknown_function_handling = false - if (ar_path != "" && !is_win && (current_cpu == "arm64" || current_cpu == "x86_64")) { + if (defined(ar_path) && ar_path != "" && !is_win && (current_cpu == "arm64" || current_cpu == "x86_64")) { support_unknown_function_handling = true static_library("asm_offset") { sources = [ "loader/asm_offset.c" ]