mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-09-21 08:58:04 +03:00
![Eelco Dolstra](/assets/img/avatar_default.png)
* Add support for the creation of shared libraries to `compileC', `link', and `makeLibrary'. * Enable the ATerm library to be made into a shared library.
9 lines
131 B
Nix
9 lines
131 B
Nix
let {
|
|
|
|
inherit (import ../../lib) compileC link;
|
|
|
|
hello = link {objects = compileC {main = ./hello.c;};};
|
|
|
|
body = [hello];
|
|
}
|