sub process_xs
{
my ($self, $file) = @_;
-
+
my $properties = $self->{properties};
my $file_args = $self->notes( 'file_flags' )->{$file};
my @old_values = @$properties{ keys %$file_args };
print $file $text;
}
+
+
# Subclass Darwin to build Objective-C addons
sub filter_support {
}
}
+# get link flags with a given a sdl_dir
+sub alt_link_flags
+{
+ my $self = shift;
+ my $sdl_dir = shift;
+
+ return '-L"'.$sdl_dir.'\lib"';
+}
+
+# get compile flags with a given a sdl_dir
+sub alt_compile_flags
+{
+ my $self = shift;
+ my $sdl_dir = shift;
+
+ return '-I"'.$sdl_dir.'\include\SDL"';
+}
+
# Override to create a MacOS Bundle
sub ACTION_bundle
{