packages/net/rtorrent/patches/100-fix_cross_compile.patch
florian b6c38c016b [package] update rtorrent to r1104 (#6176)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@18553 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-26 23:39:26 +00:00

13 lines
430 B
Diff

diff -durN a/scripts/common.m4 b/scripts/common.m4
--- a/scripts/common.m4 2009-11-13 10:44:23.000000000 +0300
+++ b/scripts/common.m4 2009-11-05 11:20:35.000000000 +0300
@@ -184,7 +183,7 @@
AC_DEFUN([TORRENT_CHECK_EXECINFO], [
AC_MSG_CHECKING(for execinfo.h)
- AC_RUN_IFELSE(
+ AC_LINK_IFELSE(
[[#include <execinfo.h>
int main() { backtrace((void**)0, 0); backtrace_symbols((char**)0, 0); return 0;}
]],