mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 08:32:43 +00:00 
			
		
		
		
	 efe4da57df
			
		
	
	
		efe4da57df
		
	
	
	
	
		
			
			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)
 |