This commit is contained in:
parent
6137728de7
commit
22b0891598
9 changed files with 34 additions and 5 deletions
5
pl/ostype/Haiku.pl
Normal file
5
pl/ostype/Haiku.pl
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
$cc = "g++";
|
||||
|
||||
use_backend("haiku");
|
||||
|
||||
1;
|
||||
|
|
@ -95,6 +95,10 @@ if (grep(/^cocoa$/, @backends) || param_get("gnustep")) {
|
|||
$gl_libs = "-framework OpenGL";
|
||||
}
|
||||
|
||||
if (grep(/^haiku$/, @backends)) {
|
||||
new_object("src/backend/haiku.cxx");
|
||||
}
|
||||
|
||||
if (param_get("stb-image")) {
|
||||
add_cflags("-DUSE_STB_IMAGE");
|
||||
if (param_get("tiny")) {
|
||||
|
|
|
|||
|
|
@ -54,7 +54,7 @@ sub set_shared_flag {
|
|||
sub new_object {
|
||||
my @l = glob($_[0]);
|
||||
foreach my $e (@l) {
|
||||
$e =~ s/\.(c|m)$/$object_suffix/;
|
||||
$e =~ s/\.(cxx|c|m)$/$object_suffix/;
|
||||
push(@library_targets, $e);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue