mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-10 16:45:51 +03:00
ufoai: fix underlinking against -lm
Without the change build fails as: ld: release-linux-x86_64/testall/client/sound/s_mix.c.o: undefined reference to symbol 'acos@@GLIBC_2.2.5' With change added I was able to start ufoai.
This commit is contained in:
parent
194b1de4e7
commit
e545a7796b
@ -24,7 +24,13 @@ stdenv.mkDerivation rec {
|
||||
curl libjpeg libpng gettext cunit
|
||||
];
|
||||
|
||||
NIX_CFLAGS_LINK = "-lgcc_s"; # to avoid occasional runtime error in finding libgcc_s.so.1
|
||||
NIX_CFLAGS_LINK = [
|
||||
# to avoid occasional runtime error in finding libgcc_s.so.1
|
||||
"-lgcc_s"
|
||||
# tests are underlinked against libm:
|
||||
# ld: release-linux-x86_64/testall/client/sound/s_mix.c.o: undefined reference to symbol 'acos@@GLIBC_2.2.5'
|
||||
"-lm"
|
||||
];
|
||||
|
||||
meta = {
|
||||
homepage = "http://ufoai.org";
|
||||
|
Loading…
Reference in New Issue
Block a user