diff options
| author | Jiri Slachta <slachta@cesnet.cz> | 2015-04-10 19:30:52 +0200 |
|---|---|---|
| committer | Jiri Slachta <slachta@cesnet.cz> | 2015-04-10 19:30:52 +0200 |
| commit | 0c0ef8cdb7d71da9aa43fca22098528312e92dce (patch) | |
| tree | 0b345627db69c6909517e821996a06d893b346fb /net/freeswitch/patches/libs-apr-configure_ac.patch | |
| parent | 85542a25809354f0323bd12aa807fcc3acd66815 (diff) | |
| parent | 94fd5f5e3504bbb0077ace2641e04cbe61ec66a7 (diff) | |
Merge pull request #29 from BlueMax/master
FreeSWITCH: fixed cross-compile errors
Diffstat (limited to 'net/freeswitch/patches/libs-apr-configure_ac.patch')
| -rwxr-xr-x | net/freeswitch/patches/libs-apr-configure_ac.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/net/freeswitch/patches/libs-apr-configure_ac.patch b/net/freeswitch/patches/libs-apr-configure_ac.patch new file mode 100755 index 0000000..e4cf22e --- /dev/null +++ b/net/freeswitch/patches/libs-apr-configure_ac.patch @@ -0,0 +1,16 @@ +--- a/libs/apr/configure.ac ++++ b/libs/apr/configure.ac +@@ -1956,8 +1956,11 @@ + + APR_CHECK_TCP_NODELAY_INHERITED + APR_CHECK_O_NONBLOCK_INHERITED +-APR_CHECK_TCP_NODELAY_WITH_CORK +- ++dnl Check TCP_NODELAY_WITH_CORK ONLY when NOT cross compiling ++if test "$cross_compiling" != yes; then ++ APR_CHECK_TCP_NODELAY_WITH_CORK ++fi ++ + # Look for a way of corking TCP... + APR_CHECK_DEFINE(TCP_CORK, netinet/tcp.h) + APR_CHECK_DEFINE(TCP_NOPUSH, netinet/tcp.h) |
