mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-25 04:02:28 +03:00
Toolchain: Fix Linux libisl
detection in BuildGDB.sh
There is no top-level `isl.h`, let's check for `isl/version.h` instead.
This commit is contained in:
parent
4ff30a7302
commit
9bceff88c8
Notes:
sideshowbarker
2024-07-16 23:03:06 +09:00
Author: https://github.com/BertalanD Commit: https://github.com/SerenityOS/serenity/commit/9bceff88c8 Pull-request: https://github.com/SerenityOS/serenity/pull/19102 Reviewed-by: https://github.com/AtkinsSJ
@ -59,8 +59,9 @@ for lib in gmp isl mpfr mpc; do
|
||||
[ "$lib" = "mpc" ] && formula_name="libmpc" || formula_name="$lib"
|
||||
config_args+=("--with-$lib=$(brew --prefix --installed "$formula_name")") || missing_lib $lib
|
||||
else
|
||||
[ "$lib" = "isl" ] && header="isl/version.h" || header="$lib.h"
|
||||
if ! ${CC:-cc} -I /usr/local/include -L /usr/local/lib -l$lib -o /dev/null -xc - >/dev/null <<PROGRAM
|
||||
#include <$lib.h>
|
||||
#include <$header>
|
||||
int main() {}
|
||||
PROGRAM
|
||||
then
|
||||
|
Loading…
Reference in New Issue
Block a user