aegisub: link with pthread explicitly

This commit is contained in:
Piotr Bogdan 2019-01-04 19:33:49 +00:00
parent 6edd82d02c
commit 4bdf36d156

View File

@ -48,6 +48,12 @@ stdenv.mkDerivation rec {
hardeningDisable = [ "bindnow" "relro" ];
# this is fixed upstream though not yet in an officially released version,
# should be fine remove on next release (if one ever happens)
NIX_LDFLAGS = [
"-lpthread"
];
postInstall = "ln -s $out/bin/aegisub-* $out/bin/aegisub";
meta = {