mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-14 13:56:01 +03:00
Fix build system with PCRE_ vars
This commit is contained in:
parent
78880129b5
commit
8ed0c10519
@ -14,56 +14,56 @@ mod_security2_la_SOURCES = mod_security2.c \
|
|||||||
msc_geo.c msc_gsb.c msc_unicode.c acmp.c msc_lua.c msc_release.c
|
msc_geo.c msc_gsb.c msc_unicode.c acmp.c msc_lua.c msc_release.c
|
||||||
|
|
||||||
mod_security2_la_CFLAGS = @APXS_CFLAGS@ @APR_CFLAGS@ @APU_CFLAGS@ \
|
mod_security2_la_CFLAGS = @APXS_CFLAGS@ @APR_CFLAGS@ @APU_CFLAGS@ \
|
||||||
@LIBXML2_CFLAGS@ @LUA_CFLAGS@ @MODSEC_EXTRA_CFLAGS@
|
@PCRE_CFLAGS@ @LIBXML2_CFLAGS@ @LUA_CFLAGS@ @MODSEC_EXTRA_CFLAGS@
|
||||||
mod_security2_la_CPPFLAGS = @APR_CPPFLAGS@ @LIBXML2_CPPFLAGS@
|
mod_security2_la_CPPFLAGS = @APR_CPPFLAGS@ @PCRE_CPPFLAGS@ @LIBXML2_CPPFLAGS@
|
||||||
mod_security2_la_LIBADD = @APR_LDADD@ @APU_LDADD@ @LIBXML2_LDADD@ @LUA_LDADD@
|
mod_security2_la_LIBADD = @APR_LDADD@ @APU_LDADD@ @PCRE_LDADD@ @LIBXML2_LDADD@ @LUA_LDADD@
|
||||||
|
|
||||||
if AIX
|
if AIX
|
||||||
mod_security2_la_LDFLAGS = -module -avoid-version \
|
mod_security2_la_LDFLAGS = -module -avoid-version \
|
||||||
@APR_LDFLAGS@ @APU_LDFLAGS@ @APXS_LDFLAGS@ \
|
@APR_LDFLAGS@ @APU_LDFLAGS@ @APXS_LDFLAGS@ \
|
||||||
@LIBXML2_LDFLAGS@ @LUA_LDFLAGS@
|
@PCRE_LDFLAGS@ @LIBXML2_LDFLAGS@ @LUA_LDFLAGS@
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if HPUX
|
if HPUX
|
||||||
mod_security2_la_LDFLAGS = -module -avoid-version \
|
mod_security2_la_LDFLAGS = -module -avoid-version \
|
||||||
@APR_LDFLAGS@ @APU_LDFLAGS@ @APXS_LDFLAGS@ \
|
@APR_LDFLAGS@ @APU_LDFLAGS@ @APXS_LDFLAGS@ \
|
||||||
@LIBXML2_LDFLAGS@ @LUA_LDFLAGS@
|
@PCRE_LDFLAGS@ @LIBXML2_LDFLAGS@ @LUA_LDFLAGS@
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if MACOSX
|
if MACOSX
|
||||||
mod_security2_la_LDFLAGS = -module -avoid-version \
|
mod_security2_la_LDFLAGS = -module -avoid-version \
|
||||||
@APR_LDFLAGS@ @APU_LDFLAGS@ @APXS_LDFLAGS@ \
|
@APR_LDFLAGS@ @APU_LDFLAGS@ @APXS_LDFLAGS@ \
|
||||||
@LIBXML2_LDFLAGS@ @LUA_LDFLAGS@
|
@PCRE_LDFLAGS@ @LIBXML2_LDFLAGS@ @LUA_LDFLAGS@
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if SOLARIS
|
if SOLARIS
|
||||||
mod_security2_la_LDFLAGS = -module -avoid-version \
|
mod_security2_la_LDFLAGS = -module -avoid-version \
|
||||||
@APR_LDFLAGS@ @APU_LDFLAGS@ @APXS_LDFLAGS@ \
|
@APR_LDFLAGS@ @APU_LDFLAGS@ @APXS_LDFLAGS@ \
|
||||||
@LIBXML2_LDFLAGS@ @LUA_LDFLAGS@
|
@PCRE_LDFLAGS@ @LIBXML2_LDFLAGS@ @LUA_LDFLAGS@
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if LINUX
|
if LINUX
|
||||||
mod_security2_la_LDFLAGS = -no-undefined -module -avoid-version \
|
mod_security2_la_LDFLAGS = -no-undefined -module -avoid-version \
|
||||||
@APR_LDFLAGS@ @APU_LDFLAGS@ @APXS_LDFLAGS@ \
|
@APR_LDFLAGS@ @APU_LDFLAGS@ @APXS_LDFLAGS@ \
|
||||||
@LIBXML2_LDFLAGS@ @LUA_LDFLAGS@
|
@PCRE_LDFLAGS@ @LIBXML2_LDFLAGS@ @LUA_LDFLAGS@
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if FREEBSD
|
if FREEBSD
|
||||||
mod_security2_la_LDFLAGS = -no-undefined -module -avoid-version \
|
mod_security2_la_LDFLAGS = -no-undefined -module -avoid-version \
|
||||||
@APR_LDFLAGS@ @APU_LDFLAGS@ @APXS_LDFLAGS@ \
|
@APR_LDFLAGS@ @APU_LDFLAGS@ @APXS_LDFLAGS@ \
|
||||||
@LIBXML2_LDFLAGS@ @LUA_LDFLAGS@
|
@PCRE_LDFLAGS@ @LIBXML2_LDFLAGS@ @LUA_LDFLAGS@
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if OPENBSD
|
if OPENBSD
|
||||||
mod_security2_la_LDFLAGS = -no-undefined -module -avoid-version \
|
mod_security2_la_LDFLAGS = -no-undefined -module -avoid-version \
|
||||||
@APR_LDFLAGS@ @APU_LDFLAGS@ @APXS_LDFLAGS@ \
|
@APR_LDFLAGS@ @APU_LDFLAGS@ @APXS_LDFLAGS@ \
|
||||||
@LIBXML2_LDFLAGS@ @LUA_LDFLAGS@
|
@PCRE_LDFLAGS@ @LIBXML2_LDFLAGS@ @LUA_LDFLAGS@
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if NETBSD
|
if NETBSD
|
||||||
mod_security2_la_LDFLAGS = -no-undefined -module -avoid-version \
|
mod_security2_la_LDFLAGS = -no-undefined -module -avoid-version \
|
||||||
@APR_LDFLAGS@ @APU_LDFLAGS@ @APXS_LDFLAGS@ \
|
@APR_LDFLAGS@ @APU_LDFLAGS@ @APXS_LDFLAGS@ \
|
||||||
@LIBXML2_LDFLAGS@ @LUA_LDFLAGS@
|
@PCRE_LDFLAGS@ @LIBXML2_LDFLAGS@ @LUA_LDFLAGS@
|
||||||
endif
|
endif
|
||||||
|
|
||||||
install-exec-hook: $(pkglib_LTLIBRARIES)
|
install-exec-hook: $(pkglib_LTLIBRARIES)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user