libc is now built as a shared library
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user