mirror of
https://github.com/bytedance/g3.git
synced 2026-05-07 09:02:16 +00:00
Some checks are pending
CodeCoverage / g3keymess test (push) Waiting to run
CodeCoverage / g3proxy test (push) Waiting to run
CodeCoverage / g3bench test (push) Waiting to run
CodeCoverage / g3statsd test (push) Waiting to run
CodeCoverage / lib unit test (push) Waiting to run
CodeCoverage / g3mkcert test (push) Waiting to run
CodeQL Advanced / Analyze (actions) (push) Waiting to run
CodeQL Advanced / Analyze (java-kotlin) (push) Waiting to run
CodeQL Advanced / Analyze (python) (push) Waiting to run
CodeQL Advanced / Analyze (rust) (push) Waiting to run
CrossCompiling / Build (push) Waiting to run
Linux-CI / Build (push) Waiting to run
Linux-CI / Clippy (push) Waiting to run
Linux-CI / Build vendored (push) Waiting to run
Linux-CI / Build with OpenSSL Async Job (push) Waiting to run
MacOS-CI / Build (push) Waiting to run
MacOS-CI / Build vendored (push) Waiting to run
StaticLinking / musl (push) Waiting to run
StaticLinking / msvc (push) Waiting to run
Windows-CI / Build (push) Waiting to run
Windows-CI / Build vendored (push) Waiting to run
18 lines
218 B
Bash
Executable file
18 lines
218 B
Bash
Executable file
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
if $(pkg-config --exists lua)
|
|
then
|
|
pkg-config --variable=lib_name lua | tr -d '.'
|
|
else
|
|
for lib in lua54 lua53
|
|
do
|
|
if $(pkg-config --exists ${lib})
|
|
then
|
|
echo "${lib}"
|
|
break
|
|
fi
|
|
done
|
|
fi
|
|
|