diff options
author | Hans-Joachim Lankenau <hjs@openoffice.org> | 2010-12-07 19:13:10 +0100 |
---|---|---|
committer | Hans-Joachim Lankenau <hjs@openoffice.org> | 2010-12-07 19:13:10 +0100 |
commit | 4b125ac345c1e4310ee786a4016ba3c202e0326e (patch) | |
tree | 18833ea0f6603a74e360061010ab1146ae2570d3 /solenv/bin/deliver.pl | |
parent | #i10000# regenerated configure (diff) | |
download | core-4b125ac345c1e4310ee786a4016ba3c202e0326e.tar.gz core-4b125ac345c1e4310ee786a4016ba3c202e0326e.zip |
ause128: #i115964# create .jnilib file on request when linking; deliver .jnilib files instead of deliver magic
Diffstat (limited to 'solenv/bin/deliver.pl')
-rwxr-xr-x | solenv/bin/deliver.pl | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/solenv/bin/deliver.pl b/solenv/bin/deliver.pl index 5c604d27b309..b87665c6b011 100755 --- a/solenv/bin/deliver.pl +++ b/solenv/bin/deliver.pl @@ -789,11 +789,6 @@ sub copy_if_newer if ( $opt_delete ) { print "REMOVE: $to\n" if $opt_verbose; $rc = unlink($to) unless $opt_check; - # handle special packaging of *.dylib files for Mac OS X - if ( $to =~ s/\.dylib$/.jnilib/ ) { - print "REMOVE: $to\n" if $opt_verbose; - $rc += unlink "$to" unless $opt_check; - } return 1 if $opt_check; return $rc; } @@ -858,19 +853,6 @@ sub copy_if_newer # handle special packaging of *.dylib files for Mac OS X if ( $^O eq 'darwin' ) { - if ( $to =~ /\.dylib/ ) { - system("macosx-create-bundle", $to); - my $bundlelib = $to; - $bundlelib =~ s/\.dylib$//; - $bundlelib .= ".jnilib"; - if ( $opt_delete ) { - print "REMOVE: $bundlelib\n" if $opt_verbose; - unlink "$bundlelib" unless $opt_check; - } else { - push_on_ziplist($bundlelib) if $opt_zip; - push_on_loglist("LINK", basename($to), "$bundlelib") if $opt_log; - } - } system("macosx-create-bundle", "$to=$from.app") if ( -d "$from.app" ); system("ranlib", "$to" ) if ( $to =~ /\.a/ ); } |