Skip to content

Commit 614a9ef

Browse files
committed
fix: enable thread safety if version is less than 17
1 parent 71d36e4 commit 614a9ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dockerfiles/Dockerfile.linux-musl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ RUN major_version=$(echo "$POSTGRESQL_VERSION" | awk -F. '{print $1}') && \
6161
--enable-integer-datetimes \
6262
--enable-option-checking=fatal \
6363
--enable-tap-tests \
64-
--enable-thread-safety \
64+
$([ $major_version -le 16 ] && echo "--enable-thread-safety") \
6565
--with-gssapi \
6666
$([ $major_version -ge 14 ] && echo "--with-icu" || echo "--without-icu") \
6767
--without-ldap \

0 commit comments

Comments
 (0)