diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2005-08-18 16:43:46 +0300 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2005-08-18 11:10:27 +0000 |
commit | c042ae3a74be2a1c6b85173b59f6a608815afef8 (patch) | |
tree | 7d41e4d8fbd45136349a5fa3b278c39b8ef5160e /symbian/xsbuild.pl | |
parent | 4c3a8340729ab239a926a5263f711fc20a0e2468 (diff) | |
download | perl-c042ae3a74be2a1c6b85173b59f6a608815afef8.tar.gz |
5.9.x (and 5.8.x): Symbian update
Message-ID: <B356D8F434D20B40A8CEDAEC305A1F24E7A41B@esebe105.NOE.Nokia.com>
p4raw-id: //depot/perl@25304
Diffstat (limited to 'symbian/xsbuild.pl')
-rw-r--r-- | symbian/xsbuild.pl | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/symbian/xsbuild.pl b/symbian/xsbuild.pl index ac6c14713d..afbc9ef4e5 100644 --- a/symbian/xsbuild.pl +++ b/symbian/xsbuild.pl @@ -427,18 +427,24 @@ sub xsconfig { } } if ( my @c = glob("*.c *.cpp */*.c */*.cpp") ) { + @c = grep { ! m:^zlib-src/: } @c if $ext eq 'ext\Compress\Zlib'; for my $c (@c) { $c =~ s:/:\\:g; $src{$c}++; } } if ( my @h = glob("*.h */*.h") ) { + @h = grep { ! m:^zlib-src/: } @h if $ext eq 'ext\Compress\Zlib'; for my $h (@h) { $h =~ s:/:\\:g; $h = dirname($h); $incdir{"$dir\\$h"}++ unless $h eq "."; } } + if ( $ext eq 'ext\Compress\Zlib' ) { + system_echo("perl -pi.bak -e s:True:False: config.in") == 0 + or die "$0: changing BUILD_ZLIB failed: $!\n"; + } if ( exists $EXTCFG{$ext} ) { for my $cfg ( @{ $EXTCFG{$ext} } ) { if ( $cfg =~ /^([-+])?(.+\.(c|cpp|h))$/ ) { |