Quellcode durchsuchen

Meta: Explicitly set the sysroot path during Lagom builds

Otherwise, we don't set the -isysroot flag, and my mac is unable to
build with GN.
Timothy Flynn vor 1 Jahr
Ursprung
Commit
6ac57448af
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      Meta/gn/build/BUILD.gn

+ 1 - 1
Meta/gn/build/BUILD.gn

@@ -146,7 +146,7 @@ config("compiler_defaults") {
     }
     }
   }
   }
 
 
-  if (current_os == "mac" && sysroot != "") {
+  if (current_os == "mac") {
     sdk_path = mac_sdk_path
     sdk_path = mac_sdk_path
     cflags += [
     cflags += [
       "-isysroot",
       "-isysroot",