mirror of
https://gitea.invidious.io/iv-org/litespeed-quic.git
synced 2024-08-15 00:53:43 +00:00
ccd741616f
- 1.10.1 - [BUGFIX] process connections after each batch of packets is read This avoids a problem of accumulating a very large list of packets (possible when speeds are high and socket's receive buffer is large) and processing it all at once. - If glibc is older than 2.17, link with rt. This is necessary for clock_getres(2). - Add version macros to lsquic.h; remove unnecessary includes.
13 lines
326 B
Bash
Executable file
13 lines
326 B
Bash
Executable file
#!/bin/sh
|
|
#
|
|
# Determine glibc version and print it to stdout. I have to resort to
|
|
# using a shell script because it is taking too long to figure out how
|
|
# to do this properly in cmake.
|
|
|
|
CC=$1
|
|
if [ "" = "$CC" ]; then
|
|
CC=gcc
|
|
fi
|
|
|
|
$CC -print-file-name=libc.so.6 \
|
|
| perl -plne '$_ = readlink if -H; s/\.so$// && s/.*-//'
|