mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-16 07:56:12 +03:00
Make sure to include the apxs cflags and apr cflags when building msc_test.
This commit is contained in:
parent
96b3ea6f21
commit
06715a0dea
@ -111,7 +111,7 @@ mlogc-static:
|
||||
|
||||
### Experimental Test Framework (*NIX only right now)
|
||||
msc_test.lo: msc_test.c
|
||||
$(LIBTOOL) --mode=compile $(CC) $(EXTRA_CFLAGS) $(MODSEC_EXTRA_CFLAGS) $(CPPFLAGS) -c msc_test.c
|
||||
$(LIBTOOL) --mode=compile $(CC) $(APXS_CFLAGS) $(EXTRA_CFLAGS) $(MODSEC_EXTRA_CFLAGS) $(CPPFLAGS) -c msc_test.c
|
||||
|
||||
msc_test: $(TESTOBJS) msc_test.lo
|
||||
@objs=""; \
|
||||
|
@ -48,7 +48,7 @@ done
|
||||
if test -n "${with_apr}"; then
|
||||
APR_CONFIG="${with_apr}/${APR_CONFIG}"
|
||||
AC_MSG_RESULT([${APR_CONFIG}])
|
||||
APR_CFLAGS="`${APR_CONFIG} --includes --cppflags`"
|
||||
APR_CFLAGS="`${APR_CONFIG} --includes --cppflags --cflags`"
|
||||
APR_LDFLAGS="`${APR_CONFIG} --ldflags`"
|
||||
APR_LIBS="`${APR_CONFIG} --libs`"
|
||||
APR_LINK_LD="`${APR_CONFIG} --link-ld`"
|
||||
|
Loading…
x
Reference in New Issue
Block a user