File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ RUN git clone https://github.com/crystal-lang/crystal \
77
77
\
78
78
&& make crystal stats=true static=true ${release:+release=true} \
79
79
CRYSTAL_CONFIG_TARGET=${gnu_target} CRYSTAL_CONFIG_LIBRARY_PATH= \
80
- && ([ "$(ldd .build/crystal | wc -l)" -eq "1 " ] || { echo './build/crystal is not statically linked' ; ldd .build/crystal; exit 1; })
80
+ && ([ "$(ldd .build/crystal | wc -l)" -eq "0 " ] || { echo './build/crystal is not statically linked' ; ldd .build/crystal; exit 1; })
81
81
82
82
# Build shards
83
83
ARG shards_version
@@ -88,7 +88,7 @@ RUN git clone https://github.com/crystal-lang/shards \
88
88
&& make SHARDS=false CRYSTAL=/crystal/bin/crystal \
89
89
FLAGS="--stats --target ${musl_target} --static ${release:+--release}" \
90
90
\
91
- && ([ "$(ldd bin/shards | wc -l)" -eq "1 " ] || { echo 'shards is not statically linked' ; ldd bin/shards; exit 1; })
91
+ && ([ "$(ldd bin/shards | wc -l)" -eq "0 " ] || { echo 'shards is not statically linked' ; ldd bin/shards; exit 1; })
92
92
93
93
COPY files/crystal-wrapper /output/bin/crystal
94
94
COPY --from=debian /bdwgc/.libs/libgc.a /libgc-debian.a
You can’t perform that action at this time.
0 commit comments