Fixed small bug in install phase, where mod_security2.so ignores $DESTDIR

This commit is contained in:
Bryce Nordgren 2012-10-25 22:52:29 +00:00
parent f4fe08f7ee
commit 606cd72f90

View File

@ -71,5 +71,5 @@ install-exec-hook: $(pkglib_LTLIBRARIES)
for m in $(pkglib_LTLIBRARIES); do \
base=`echo $$m | sed 's/\..*//'`; \
rm -f $(DESTDIR)$(pkglibdir)/$$base.*a; \
cp -p $(DESTDIR)$(pkglibdir)/$$base.so $(APXS_MODULES); \
install -D -m444 $(DESTDIR)$(pkglibdir)/$$base.so $(DESTDIR)$(APXS_MODULES); \
done