thing
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good

This commit is contained in:
Nishi 2026-04-22 08:50:56 +09:00
commit b0f89d1dcc

25
configure vendored
View file

@ -73,14 +73,24 @@ my @features_keys = (
"1dbus" "1dbus"
); );
if($target ne "Darwin" and $target ne "ClassicMacOS" and $target ne "Windows") { sub def_platform {
param_set("freetype2", 1); if($target ne "Darwin" and $target ne "ClassicMacOS" and $target ne "Windows") {
param_set("stb-truetype", 0); param_set("freetype2", 1);
} else { param_set("stb-truetype", 0);
param_set("freetype2", 0); } else {
param_set("stb-truetype", 1); param_set("freetype2", 0);
param_set("stb-truetype", 1);
}
} }
foreach my $l (@ARGV) {
if ($l =~ /^--target=(.+)$/) {
$target = $1;
}
}
def_platform();
if($target eq "Linux") { if($target eq "Linux") {
param_set("x11", 1); param_set("x11", 1);
if(!param_get("tiny")){ if(!param_get("tiny")){
@ -98,9 +108,6 @@ foreach my $l (@ARGV) {
elsif ($l =~ /^--(?:without|disable)-(.+)$/) { elsif ($l =~ /^--(?:without|disable)-(.+)$/) {
param_set($1, 0); param_set($1, 0);
} }
elsif ($l =~ /^--target=(.+)$/) {
$target = $1;
}
elsif ($l =~ /^--host=(.+)$/) { elsif ($l =~ /^--host=(.+)$/) {
$host = $1 . "-"; $host = $1 . "-";
} }