forked from pyrite-dev/milsko
fix
This commit is contained in:
parent
a59154d5f1
commit
449a0691e0
1 changed files with 15 additions and 15 deletions
30
configure
vendored
30
configure
vendored
|
|
@ -73,6 +73,21 @@ my @features_keys = (
|
||||||
"1dbus"
|
"1dbus"
|
||||||
);
|
);
|
||||||
|
|
||||||
|
if($target ne "Darwin" and $target ne "ClassicMacOS" and $target ne "Windows") {
|
||||||
|
param_set("freetype2", 1);
|
||||||
|
param_set("stb-truetype", 0);
|
||||||
|
} else {
|
||||||
|
param_set("freetype2", 0);
|
||||||
|
param_set("stb-truetype", 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
if($target eq "Linux") {
|
||||||
|
param_set("x11", 1);
|
||||||
|
if(!param_get("tiny")){
|
||||||
|
param_set("wayland", 1);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
foreach my $l (@ARGV) {
|
foreach my $l (@ARGV) {
|
||||||
if ($l =~ /^--with-([^=]+)=(.+)$/) {
|
if ($l =~ /^--with-([^=]+)=(.+)$/) {
|
||||||
param_set($1, $2);
|
param_set($1, $2);
|
||||||
|
|
@ -135,21 +150,6 @@ foreach my $l (@ARGV) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if($target ne "Darwin" and $target ne "ClassicMacOS" and $target ne "Windows") {
|
|
||||||
param_set("freetype2", 1);
|
|
||||||
param_set("stb-truetype", 0);
|
|
||||||
} else {
|
|
||||||
param_set("freetype2", 0);
|
|
||||||
param_set("stb-truetype", 0);
|
|
||||||
}
|
|
||||||
|
|
||||||
if($target eq "Linux") {
|
|
||||||
param_set("x11", 1);
|
|
||||||
if(!param_get("tiny")){
|
|
||||||
param_set("wayland", 1);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
if (-f "./pl/ostype/${target}.pl") {
|
if (-f "./pl/ostype/${target}.pl") {
|
||||||
require("./pl/ostype/${target}.pl");
|
require("./pl/ostype/${target}.pl");
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue