Skip to content

Commit 8f6c990

Browse files
authored
Add License field to pkg-config files (#746)
The pkg-config file has a License field which describes the software license. Set this to 'BSD-3-Clause WITH PCRE2-exception'. Ref: https://github.com/pkgconf/pkgconf/blob/master/man/pc.5#L116
1 parent d8a0219 commit 8f6c990

File tree

4 files changed

+4
-0
lines changed

4 files changed

+4
-0
lines changed

libpcre2-16.pc.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ includedir=@includedir@
88
Name: libpcre2-16
99
Description: PCRE2 - Perl compatible regular expressions C library (2nd API) with 16 bit character support
1010
Version: @PACKAGE_VERSION@
11+
License: BSD-3-Clause WITH PCRE2-exception
1112
Libs: -L${libdir} -lpcre2-16@LIB_POSTFIX@
1213
Libs.private: @PTHREAD_CFLAGS@ @PTHREAD_LIBS@
1314
Cflags: -I${includedir} @PCRE2_STATIC_CFLAG@

libpcre2-32.pc.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ includedir=@includedir@
88
Name: libpcre2-32
99
Description: PCRE2 - Perl compatible regular expressions C library (2nd API) with 32 bit character support
1010
Version: @PACKAGE_VERSION@
11+
License: BSD-3-Clause WITH PCRE2-exception
1112
Libs: -L${libdir} -lpcre2-32@LIB_POSTFIX@
1213
Libs.private: @PTHREAD_CFLAGS@ @PTHREAD_LIBS@
1314
Cflags: -I${includedir} @PCRE2_STATIC_CFLAG@

libpcre2-8.pc.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ includedir=@includedir@
88
Name: libpcre2-8
99
Description: PCRE2 - Perl compatible regular expressions C library (2nd API) with 8 bit character support
1010
Version: @PACKAGE_VERSION@
11+
License: BSD-3-Clause WITH PCRE2-exception
1112
Libs: -L${libdir} -lpcre2-8@LIB_POSTFIX@
1213
Libs.private: @PTHREAD_CFLAGS@ @PTHREAD_LIBS@
1314
Cflags: -I${includedir} @PCRE2_STATIC_CFLAG@

libpcre2-posix.pc.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ includedir=@includedir@
88
Name: libpcre2-posix
99
Description: Posix compatible interface to libpcre2-8
1010
Version: @PACKAGE_VERSION@
11+
License: BSD-3-Clause WITH PCRE2-exception
1112
Libs: -L${libdir} -lpcre2-posix@LIB_POSTFIX@
1213
Cflags: -I${includedir} @PCRE2POSIX_CFLAG@
1314
Requires.private: libpcre2-8

0 commit comments

Comments
 (0)