mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-13 13:26:01 +03:00
Add basic pkg-config info
This commit is contained in:
parent
81708a6cf5
commit
544fb50c1a
@ -306,3 +306,8 @@ TESTS+=test/test-cases/secrules-language-tests/operators/ipMatch.json
|
||||
TESTS+=test/test-cases/secrules-language-tests/operators/ge.json
|
||||
TESTS+=test/test-cases/secrules-language-tests/operators/lt.json
|
||||
|
||||
|
||||
pkgconfigdir = $(libdir)/pkgconfig
|
||||
pkgconfig_DATA = modsecurity.pc
|
||||
EXTRA_DIST = modsecurity.pc.in
|
||||
|
||||
|
@ -346,6 +346,7 @@ AC_SUBST(GLOBAL_CFLAGS)
|
||||
|
||||
# Files to be generated via autotools.
|
||||
AC_CONFIG_FILES([\
|
||||
modsecurity.pc \
|
||||
Makefile \
|
||||
doc/Makefile \
|
||||
src/Makefile \
|
||||
|
10
modsecurity.pc.in
Normal file
10
modsecurity.pc.in
Normal file
@ -0,0 +1,10 @@
|
||||
prefix=@prefix@
|
||||
exec_prefix=@exec_prefix@
|
||||
libdir=@libdir@
|
||||
includedir=@includedir@
|
||||
|
||||
Name: ModSecurity
|
||||
Description: ModSecurity API
|
||||
Version: @PACKAGE_VERSION@
|
||||
Cflags: -I@includedir@/@PACKAGE@
|
||||
Libs: -L@libdir@ -lmodsecurity
|
Loading…
x
Reference in New Issue
Block a user