Remove -lpthread and -ldl from ldflags
There is no need in those flags now when we use amalgamated sqlite3 from mattn/go-sqlite3. Signed-off-by: Alexander Morozov <lk4d4@docker.com> Upstream-commit: 8845eb434596ea709a7ef066d191141331dd1098 Component: engine
This commit is contained in:
@ -150,12 +150,9 @@ BUILDFLAGS=( $BUILDFLAGS "${ORIG_BUILDFLAGS[@]}" )
|
||||
: ${TIMEOUT:=60m}
|
||||
TESTFLAGS+=" -test.timeout=${TIMEOUT}"
|
||||
|
||||
# A few more flags that are specific just to building a completely-static binary (see hack/make/binary)
|
||||
# PLEASE do not use these anywhere else.
|
||||
EXTLDFLAGS_STATIC_DOCKER="$EXTLDFLAGS_STATIC -lpthread -ldl"
|
||||
LDFLAGS_STATIC_DOCKER="
|
||||
$LDFLAGS_STATIC
|
||||
-extldflags \"$EXTLDFLAGS_STATIC_DOCKER\"
|
||||
-extldflags \"$EXTLDFLAGS_STATIC\"
|
||||
"
|
||||
|
||||
if [ "$(uname -s)" = 'FreeBSD' ]; then
|
||||
|
||||
Reference in New Issue
Block a user