summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--support/apxs.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/support/apxs.in b/support/apxs.in
index e159418b62..f7110978e6 100644
--- a/support/apxs.in
+++ b/support/apxs.in
@@ -506,7 +506,7 @@ if ($opt_i or $opt_e) {
# use .so unambigiously for installed shared library modules
$t =~ s|\.[^./\\]+$|\.so|;
if ($opt_i) {
- push(@cmds, "$installbuilddir/instdso.sh SH_LIBTOOL='" .
+ push(@cmds, $destdir . "$installbuilddir/instdso.sh SH_LIBTOOL='" .
"$libtool' $f $CFG_LIBEXECDIR");
push(@cmds, "chmod 755 $CFG_LIBEXECDIR/$t");
}