mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-17 14:46:13 +03:00
Fixed MODSEC-360
This commit is contained in:
parent
adca6e4b24
commit
18e0c45e38
@ -66,6 +66,7 @@ mod_security2_la_LDFLAGS = -no-undefined -module -avoid-version \
|
|||||||
@PCRE_LDFLAGS@ @LIBXML2_LDFLAGS@ @LUA_LDFLAGS@
|
@PCRE_LDFLAGS@ @LIBXML2_LDFLAGS@ @LUA_LDFLAGS@
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
if LINUX
|
||||||
install-exec-hook: $(pkglib_LTLIBRARIES)
|
install-exec-hook: $(pkglib_LTLIBRARIES)
|
||||||
@echo "Removing unused static libraries..."; \
|
@echo "Removing unused static libraries..."; \
|
||||||
for m in $(pkglib_LTLIBRARIES); do \
|
for m in $(pkglib_LTLIBRARIES); do \
|
||||||
@ -73,3 +74,12 @@ install-exec-hook: $(pkglib_LTLIBRARIES)
|
|||||||
rm -f $(DESTDIR)$(pkglibdir)/$$base.*a; \
|
rm -f $(DESTDIR)$(pkglibdir)/$$base.*a; \
|
||||||
install -D -m444 $(DESTDIR)$(pkglibdir)/$$base.so $(DESTDIR)$(APXS_MODULES); \
|
install -D -m444 $(DESTDIR)$(pkglibdir)/$$base.so $(DESTDIR)$(APXS_MODULES); \
|
||||||
done
|
done
|
||||||
|
else
|
||||||
|
install-exec-hook: $(pkglib_LTLIBRARIES)
|
||||||
|
@echo "Removing unused static libraries..."; \
|
||||||
|
for m in $(pkglib_LTLIBRARIES); do \
|
||||||
|
base=`echo $$m | sed 's/\..*//'`; \
|
||||||
|
rm -f $(DESTDIR)$(pkglibdir)/$$base.*a; \
|
||||||
|
cp -p $(DESTDIR)$(pkglibdir)/$$base.so $(DESTDIR)$(APXS_MODULES); \
|
||||||
|
done
|
||||||
|
endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user