File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -66,10 +66,20 @@ mod_security2_la_LDFLAGS = -no-undefined -module -avoid-version \
66
66
@PCRE_LDFLAGS@ @LIBXML2_LDFLAGS@ @LUA_LDFLAGS@
67
67
endif
68
68
69
+ if LINUX
69
70
install-exec-hook : $(pkglib_LTLIBRARIES )
70
71
@echo " Removing unused static libraries..." ; \
71
72
for m in $( pkglib_LTLIBRARIES) ; do \
72
73
base=` echo $$ m | sed ' s/\..*//' ` ; \
73
74
rm -f $(DESTDIR )$(pkglibdir ) /$$ base.* a; \
74
75
install -D -m444 $(DESTDIR )$(pkglibdir ) /$$ base.so $(DESTDIR )$(APXS_MODULES ) ; \
75
76
done
77
+ else
78
+ install-exec-hook : $(pkglib_LTLIBRARIES )
79
+ @echo " Removing unused static libraries..." ; \
80
+ for m in $( pkglib_LTLIBRARIES) ; do \
81
+ base=` echo $$ m | sed ' s/\..*//' ` ; \
82
+ rm -f $(DESTDIR )$(pkglibdir ) /$$ base.* a; \
83
+ cp -p $(DESTDIR )$(pkglibdir ) /$$ base.so $(DESTDIR )$(APXS_MODULES ) ; \
84
+ done
85
+ endif
You can’t perform that action at this time.
0 commit comments