* Add support for the creation of shared libraries to `compileC', `link', and `makeLibrary'. * Enable the ATerm library to be made into a shared library.
		
			
				
	
	
		
			11 lines
		
	
	
	
		
			186 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
	
		
			186 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
| let {
 | |
| 
 | |
|   inherit (import ../../lib) compileC link;
 | |
| 
 | |
|   hello = link {objects = compileC {
 | |
|     main = ./hello.c;
 | |
|     localIncludes = [ [./hello.h "hello.h"] ];
 | |
|   };};
 | |
| 
 | |
|   body = [hello];
 | |
| }
 |