File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 8383
8484 - name : Install dependencies (Linux)
8585 if : startsWith(matrix.platform, 'ubuntu-')
86- run : sudo apt-get -y install ccache cmake make gcc g++ flex libfl-dev bison libpcap-dev libssl-dev python3 python3-dev python3-setuptools swig zlib1g-dev zip libmaxminddb-dev
86+ run : |
87+ sudo apt-get -y install ccache cmake make gcc g++ flex libfl-dev bison libpcap-dev libssl-dev python3 python3-dev python3-setuptools swig zlib1g-dev zip libmaxminddb-dev
88+ # Removing shared objects to force static linking.
89+ sudo find /usr/lib \( -name libpcap.so\* -o -name libmaxminddb.so\* \) -delete
8790
8891 - name : Install dependencies (macOS)
8992 if : startsWith(matrix.platform, 'macos-')
97100 if : " !startsWith(matrix.platform, 'windows-')"
98101 run : |
99102 cd zeek-src
100- ./configure --binary-package --enable-static-broker --enable-static-binpac --disable-spicy --disable-af-packet --disable-zeekctl --disable-python --disable-broker-tests --disable-auxtools --disable-archiver --osx-min-version=12
103+ [ $(uname) = Linux ] && linux_flags='-D ZLIB_USE_STATIC_LIBS=TRUE'
104+ ./configure --binary-package --enable-static-broker --enable-static-binpac --disable-spicy --disable-af-packet --disable-zeekctl --disable-python --disable-broker-tests --disable-auxtools --disable-archiver --osx-min-version=12 -D OPENSSL_USE_STATIC_LIBS=TRUE $linux_flags
101105 make -j${{ steps.cpu-cores.outputs.count }}
102106 sudo make install
103107 sudo strip /usr/local/zeek/bin/zeek
You can’t perform that action at this time.
0 commit comments