summaryrefslogtreecommitdiffstats
path: root/build/special.mk
diff options
context:
space:
mode:
Diffstat (limited to 'build/special.mk')
-rw-r--r--build/special.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/build/special.mk b/build/special.mk
index 089bd5d103..56db865368 100644
--- a/build/special.mk
+++ b/build/special.mk
@@ -62,13 +62,13 @@ SHARED_TARGETS = $(shared)
INSTALL_TARGETS = install-modules
install-modules:
- @test -d $(libexecdir) || $(MKINSTALLDIRS) $(libexecdir);
+ @test -d $(DESTDIR)$(libexecdir) || $(MKINSTALLDIRS) $(DESTDIR)$(libexecdir);
@builtin='$(BUILTIN_LIBS)'; \
has_mod_so=`echo $$builtin|sed 's/^.*mod_so.*$$/has_mod_so/'`; \
if [ "x$$has_mod_so" = "xhas_mod_so" ]; then \
list='$(shared)'; \
for i in $$list; do \
- $(top_srcdir)/build/instdso.sh SH_LIBTOOL='$(SH_LIBTOOL)' $$i $(libexecdir); \
+ $(top_srcdir)/build/instdso.sh SH_LIBTOOL='$(SH_LIBTOOL)' $$i $(DESTDIR)$(libexecdir); \
done; \
fi