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)