mirror of
https://github.com/b4tman/docker-squid.git
synced 2024-11-22 19:26:54 +00:00
fix "LOCK_UN" build error
../../src/base/File.h:54:21: error: 'LOCK_UN' was not declared in this scope
This commit is contained in:
parent
5ea9da0782
commit
7393b0da87
@ -94,7 +94,10 @@ RUN set -x && \
|
|||||||
--with-large-files \
|
--with-large-files \
|
||||||
--with-default-user=squid \
|
--with-default-user=squid \
|
||||||
--with-openssl \
|
--with-openssl \
|
||||||
--with-pidfile=/var/run/squid/squid.pid \
|
--with-pidfile=/var/run/squid/squid.pid && \
|
||||||
|
\
|
||||||
|
sed -ie 's/LOCK_UN/8/g' src/base/File.h && \
|
||||||
|
\
|
||||||
make && \
|
make && \
|
||||||
make install && \
|
make install && \
|
||||||
install -d -o squid -g squid \
|
install -d -o squid -g squid \
|
||||||
|
Loading…
Reference in New Issue
Block a user