mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-27 08:16:14 +02:00
36fb29f8f0
* Add support for the creation of shared libraries to `compileC', `link', and `makeLibrary'. * Enable the ATerm library to be made into a shared library.
8 lines
131 B
Nix
8 lines
131 B
Nix
let {
|
|
|
|
inherit (import ../../lib) compileC link;
|
|
|
|
hello = link {objects = compileC {main = ./hello.c;};};
|
|
|
|
body = [hello];
|
|
}
|