From 60c5fd666d54fa2779b7ab15c63e7964607cc28f Mon Sep 17 00:00:00 2001 From: BtbN Date: Mon, 20 Dec 2021 22:02:14 +0100 Subject: [PATCH] Exclude additional glibc libraries from static linking --- images/base-linux64/Dockerfile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/images/base-linux64/Dockerfile b/images/base-linux64/Dockerfile index 23a781d..afd1705 100644 --- a/images/base-linux64/Dockerfile +++ b/images/base-linux64/Dockerfile @@ -19,11 +19,17 @@ RUN \ -and -not -name 'libdl.*' \ -and -not -name 'libc.*' \ -and -not -name 'libm.*' \ + -and -not -name 'libmvec.*' \ + -and -not -name 'librt.*' \ + -and -not -name 'libpthread.*' \ -delete && \ find /opt/ct-ng \ -name 'libdl.a' \ -or -name 'libc.a' \ -or -name 'libm.a' \ + -or -name 'libmvec.a' \ + -or -name 'librt.a' \ + -or -name 'libpthread.a' \ -delete && \ mkdir /opt/ffbuild