mirror of
https://github.com/coturn/coturn.git
synced 2025-10-24 12:31:00 +02:00
Link libatomic explicitly in debian Docker image
This commit is contained in:
parent
8c0830daa9
commit
a775ca47e2
9
configure
vendored
9
configure
vendored
@ -505,6 +505,15 @@ else
|
||||
fi
|
||||
fi
|
||||
|
||||
#############################
|
||||
# Adjustments for Debian
|
||||
#############################
|
||||
|
||||
if [ -f "/etc/debian_version" ] ; then
|
||||
# https://github.com/coturn/coturn/pull/754#issuecomment-824693226
|
||||
OSLIBS="${OSLIBS} -latomic"
|
||||
fi
|
||||
|
||||
#############################
|
||||
# Adjustments for Solaris
|
||||
#############################
|
||||
|
||||
@ -183,7 +183,9 @@ RUN if [ "${coturn_git_ref}" != 'HEAD' ]; then true \
|
||||
&& true; fi
|
||||
|
||||
# Build Coturn from sources.
|
||||
RUN ./configure --prefix=/usr \
|
||||
# TODO: Remove `LDFLAGS` with next Coturn release containing `-latomic` flag in `configure`.
|
||||
RUN LDFLAGS='-latomic' \
|
||||
./configure --prefix=/usr \
|
||||
--turndbdir=/var/lib/coturn \
|
||||
--disable-rpath \
|
||||
--sysconfdir=/etc/coturn \
|
||||
@ -237,6 +239,7 @@ RUN apt-get update \
|
||||
&& update-ca-certificates \
|
||||
# Install Coturn dependencies.
|
||||
&& apt-get install -y --no-install-recommends --no-install-suggests \
|
||||
libatomic1 \
|
||||
libevent-2.1-6 libevent-core-2.1-6 libevent-extra-2.1-6 \
|
||||
libevent-openssl-2.1-6 libevent-pthreads-2.1-6 \
|
||||
libssl1.1 \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user