guile: fix static build
This commit is contained in:
parent
29b658e67e
commit
507369bf27
1 changed files with 2 additions and 1 deletions
|
@ -58,7 +58,8 @@
|
|||
# "libgcc_s.so.1 must be installed for pthread_cancel to work".
|
||||
|
||||
# don't have "libgcc_s.so.1" on darwin
|
||||
LDFLAGS = stdenv.lib.optionalString (!stdenv.isDarwin) "-lgcc_s";
|
||||
LDFLAGS = stdenv.lib.optionalString
|
||||
(!stdenv.isDarwin && !stdenv.hostPlatform.isStatic) "-lgcc_s";
|
||||
|
||||
configureFlags = [ "--with-libreadline-prefix=${readline.dev}" ]
|
||||
++ stdenv.lib.optionals stdenv.isSunOS [
|
||||
|
|
Loading…
Reference in a new issue