Statically link the protocol extensions

This commit is contained in:
M. Mert Yildiran
2022-01-25 05:10:32 +03:00
parent 6c12d299a8
commit ba0de069f3
46 changed files with 125 additions and 102 deletions

View File

@@ -1,13 +0,0 @@
#!/bin/bash
for f in tap/extensions/*; do
if [ -d "$f" ]; then
echo Building extension: $f
extension=$(basename $f) && \
cd tap/extensions/${extension} && \
go build -buildmode=plugin -o ../${extension}.so . && \
cd ../../.. && \
mkdir -p agent/build/extensions && \
cp tap/extensions/${extension}.so agent/build/extensions
fi
done