From 9f680d30f4a8bac670932255caa4d39e7fb39f09 Mon Sep 17 00:00:00 2001 From: John Ericson Date: Wed, 31 May 2017 00:47:25 -0400 Subject: [PATCH] lib and doc: Use "libSystem" as identifier for that libc in platforms --- doc/cross-compilation.xml | 2 +- lib/systems/examples.nix | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/cross-compilation.xml b/doc/cross-compilation.xml index e99e90bac9c5..7ff354376116 100644 --- a/doc/cross-compilation.xml +++ b/doc/cross-compilation.xml @@ -128,7 +128,7 @@ This is a string identifying the standard C library used. - Valid identifiers include "glibc" for GNU libc, "libsystem" for Darwin's Libsystem, and "uclibc" for µClibc. + Valid identifiers include "glibc" for GNU libc, "libSystem" for Darwin's Libsystem, and "uclibc" for µClibc. It should probably be refactored to use the module system, like parse. diff --git a/lib/systems/examples.nix b/lib/systems/examples.nix index 3ffaf393435e..e394f43831c9 100644 --- a/lib/systems/examples.nix +++ b/lib/systems/examples.nix @@ -96,14 +96,14 @@ rec { iphone64 = { config = "aarch64-apple-darwin14"; arch = "arm64"; - libc = "libsystem"; + libc = "libSystem"; platform = {}; }; iphone32 = { config = "arm-apple-darwin10"; arch = "armv7-a"; - libc = "libsystem"; + libc = "libSystem"; platform = {}; };