mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-04 07:09:41 +00:00
The dynamic loader is now stable enough to be used everywhere in the system - so this commit does just that. No More .a Files, Long Live .so's!
11 lines
248 B
CMake
11 lines
248 B
CMake
|
|
set(SOURCES
|
|
lib.cpp
|
|
)
|
|
|
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -nostdlib -fpic")
|
|
|
|
add_library(SampleLib SHARED ${SOURCES})
|
|
target_link_libraries(SampleLib LibC)
|
|
#target_link_libraries(SampleLib)
|
|
install(TARGETS SampleLib DESTINATION usr/lib)
|