Skip to content
Browse files

Link with gcc instead of ld on Linux

Fixes problem with undefined reference to `__stack_chk_fail_local'.
  • Loading branch information...
1 parent 1ab9c0b commit 861e2afb174b4c9c538b98a201fc4b836add8eab Mikael Magnusson committed May 16, 2010
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)

0 comments on commit 861e2af

Please sign in to comment.
Something went wrong with that request. Please try again.