Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Link with gcc instead of ld on Linux

Fixes problem with undefined reference to `__stack_chk_fail_local'.
  • Loading branch information...
commit 861e2afb174b4c9c538b98a201fc4b836add8eab 1 parent 1ab9c0b
Mikael Magnusson authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  config/configure.in
View
2  config/configure.in
@@ -34,7 +34,7 @@ case "$target_os" in
;;
linux*)
AC_DEFINE(LINUX,,LINUX)
- LD_SHARED="ld -shared"
+ LD_SHARED="\$(CC) -shared"
;;
*bsd*)
AC_DEFINE(BSD,,BSD)
Please sign in to comment.
Something went wrong with that request. Please try again.