mirror of
https://github.com/b4tman/docker-squid.git
synced 2025-09-03 07:57:35 +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:
@@ -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 \
|
||||||
|
Reference in New Issue
Block a user