fix for win32

This commit is contained in:
Graham Ollis
2012-08-31 08:18:01 -04:00
parent e64ce4c484
commit d6d98cc533
2 changed files with 8 additions and 2 deletions

View File

@@ -40,9 +40,11 @@ sub _init {
# TODO
# take and process options :-)
my @renderer_paths = $app ? map { abs_path($_) } grep { -d $_ } @{ $app->renderer->paths } : ();
my %config = (
( $app
? (INCLUDE_PATH => (join ":", map { abs_path($_) } @{$app->renderer->paths}))
( @renderer_paths > 0
? (INCLUDE_PATH => join(":", @renderer_paths))
: ()
),
COMPILE_EXT => '.ttc',