From 9f4e7a2cc68ea35e4ff3d2cdede48c70f547de62 Mon Sep 17 00:00:00 2001 From: Max Wash Date: Tue, 31 Mar 2020 18:41:31 +0100 Subject: [PATCH] libc is now built as a shared library --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index a26ea07..2eb88dd 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -69,7 +69,7 @@ file(GLOB platform_headers set(photon_libc_sources ${photon_libc_sources} ${platform_sources}) set(photon_libc_headers ${photon_libc_headers} ${platform_headers}) -add_library(c STATIC ${photon_libc_sources} ${photon_libc_headers}) +add_library(c SHARED ${photon_libc_sources} ${photon_libc_headers}) target_compile_options(c PRIVATE -ffreestanding -nostdlib -nostdinc) target_link_libraries(c crt)