[libc] Add missing environ dependency to AArch64 startup implementation
authorJoseph Huber <jhuber6@vols.utk.edu>
Thu, 16 Mar 2023 13:06:14 +0000 (08:06 -0500)
committerJoseph Huber <jhuber6@vols.utk.edu>
Thu, 16 Mar 2023 13:06:14 +0000 (08:06 -0500)
Summary:
Just like the last patch, this dependency was missing. This lead to
linker failures when building the tests.

libc/startup/linux/aarch64/CMakeLists.txt

index 49f7f857c04ae7756ca3e75550737421b751a6e7..14efe0e58f3024d558acc8f6275e01ed6f86daf4 100644 (file)
@@ -11,6 +11,7 @@ add_startup_object(
     libc.src.stdlib.exit
     libc.src.stdlib.atexit
     libc.src.string.memory_utils.memcpy_implementation
+    libc.src.unistd.environ
   COMPILE_OPTIONS
     -fno-omit-frame-pointer
     -ffreestanding # To avoid compiler warnings about calling the main function.