[bugfix](compile) Fix compile hyperscan failed when build thirdparty #11481
This commit is contained in:
7
thirdparty/build-thirdparty.sh
vendored
7
thirdparty/build-thirdparty.sh
vendored
@ -605,6 +605,13 @@ build_hyperscan() {
|
||||
check_if_source_exist "${RAGEL_SOURCE}"
|
||||
cd "${TP_SOURCE_DIR}/${RAGEL_SOURCE}"
|
||||
|
||||
if [[ "${KERNEL}" != 'Darwin' ]]; then
|
||||
cxxflags='-static'
|
||||
else
|
||||
cxxflags=''
|
||||
fi
|
||||
|
||||
CXXFLAGS="${cxxflags}" \
|
||||
./configure --prefix="${TP_INSTALL_DIR}"
|
||||
make install
|
||||
|
||||
|
||||
Reference in New Issue
Block a user