Author: jhoblitt
Date: Fri Oct 14 18:59:22 2005
New Revision: 9484
Modified:
trunk/CREDITS
trunk/config/gen/makefiles/dynclasses_pl.in
Log:
fixes file perms for hpux & cygwin in config/gen/makefiles/dynclasses_pl, patch
from Nick Glencross
Modified: trunk/CREDITS
==============================================================================
--- trunk/CREDITS (original)
+++ trunk/CREDITS Fri Oct 14 18:59:22 2005
@@ -310,6 +310,7 @@ D: Building and platform compat and more
N: Nick Glencross
D: Bugfixes to trace and more.
+D: fixes file perms in config/gen/makefiles/dynclasses_pl on hpux & cygwin
E: [EMAIL PROTECTED]
N: Nick Kostirya
Modified: trunk/config/gen/makefiles/dynclasses_pl.in
==============================================================================
--- trunk/config/gen/makefiles/dynclasses_pl.in (original)
+++ trunk/config/gen/makefiles/dynclasses_pl.in Fri Oct 14 18:59:22 2005
@@ -153,6 +153,13 @@ elsif ($mode eq 'copy') {
foreach (@ungrouped_pmcs, keys %$group_files) {
copy("$_$LOAD_EXT", $dest) or die "Copy $_$LOAD_EXT failed ($?)\n";
+
+ # Execute permissions on libraries is especially important on
+ # some platforms
+ if ($^O eq 'hpux' or $^O eq 'cygwin') {
+ chmod 0755, "$dest${slash}$_$LOAD_EXT";
+ }
+
}
}
else {