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