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

This commit is contained in:
Nishi 2026-04-28 15:06:38 +00:00
commit 22b0891598
9 changed files with 34 additions and 5 deletions

5
configure vendored
View file

@ -77,7 +77,7 @@ my @features_keys = (
);
sub def_platform {
if($target ne "Darwin" and $target ne "ClassicMacOS" and $target ne "Windows") {
if($target ne "Darwin" and $target ne "ClassicMacOS" and $target ne "Windows" and $target ne "Haiku") {
param_set("freetype2", 1);
param_set("stb-truetype", 0);
} else {
@ -264,6 +264,9 @@ foreach my $l (@library_targets) {
if ($l =~ /cocoa/) {
$s =~ s/$o$/.m/;
}
elsif ($l =~ /haiku/) {
$s =~ s/$o$/.cxx/;
}
else {
$s =~ s/$o$/.c/;
}