Author: infinoid
Date: Mon Dec 8 09:35:29 2008
New Revision: 33663
Modified:
trunk/tools/dev/install_files.pl
Log:
[INSTALL] Apply patch from lu_zero++ to fix --libdir handling.
Modified: trunk/tools/dev/install_files.pl
==============================================================================
--- trunk/tools/dev/install_files.pl (original)
+++ trunk/tools/dev/install_files.pl Mon Dec 8 09:35:29 2008
@@ -202,8 +202,10 @@
# --pkgconfigdir option.
$dest = File::Spec->catdir( $options{libdir}, 'pkgconfig', $dest );
}
+ elsif ( /\[library]/ ) {
+ $dest =~ s/^runtime/$options{libdir}/;
+ }
else {
- $dest =~ s/^runtime/lib/ if /\[library]/;
$dest = File::Spec->catdir( $options{prefix}, $dest );
}