diff options
Diffstat (limited to 'nixpkgs/pkgs/os-specific/linux/sdnotify-wrapper')
-rw-r--r-- | nixpkgs/pkgs/os-specific/linux/sdnotify-wrapper/default.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nixpkgs/pkgs/os-specific/linux/sdnotify-wrapper/default.nix b/nixpkgs/pkgs/os-specific/linux/sdnotify-wrapper/default.nix index 613a7fd51e65..cf09f0476767 100644 --- a/nixpkgs/pkgs/os-specific/linux/sdnotify-wrapper/default.nix +++ b/nixpkgs/pkgs/os-specific/linux/sdnotify-wrapper/default.nix @@ -23,13 +23,13 @@ in runCommandCC "sdnotify-wrapper" { mkdir -p $bin/bin mkdir $out - # just dynamic for now + # the -lskarnet has to come at the end to support static builds $CC \ -o $bin/bin/sdnotify-wrapper \ -I${skalibs.dev}/include \ -L${skalibs.lib}/lib \ - -lskarnet \ - ${src} + ${src} \ + -lskarnet mkdir -p $doc/share/doc/sdnotify-wrapper # copy the documentation comment |