Skip to content

Commit

Permalink
Link with gcc instead of ld on Linux
Browse files Browse the repository at this point in the history
Fixes problem with undefined reference to `__stack_chk_fail_local'.
  • Loading branch information
mikma committed May 16, 2010
1 parent 1ab9c0b commit 861e2af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/configure.in
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 861e2af

Please sign in to comment.