File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1103/25/2026
22- proto: use strncasecmp on content type when obtaining a token from POST; closes #72; thanks @roubert
33- code: correct strstr assignments to compile with glibc 2.43; closes #73; thanks @Saur2000
4+ - link: add support for libtool version-info and bump to 1.0.0; closes #68; thanks @ararslan and @babelouest
45
5602/03/2026
67- code: assign strstr to char instead of const char to compile with globc 2.43
Original file line number Diff line number Diff line change @@ -51,6 +51,8 @@ liboauth2_la_pkgconfig_DATA = liboauth2.pc
5151liboauth2_la_CFLAGS = @CURL_CFLAGS@ @CJOSE_CFLAGS@ @PCRE2_CFLAGS@
5252liboauth2_la_LIBADD = @CURL_LIBS@ @CJOSE_LIBS@ @PCRE2_LIBS@
5353
54+ liboauth2_la_LDFLAGS = @LIBTOOL_EXTRA_FLAGS@
55+
5456liboauth2_la_SOURCES = \
5557 src/version.c \
5658 src/mem.c \
99101
100102noinst_LTLIBRARIES = liboauth2_cache.la
101103liboauth2_la_LIBADD += liboauth2_cache.la
104+
102105liboauth2_cache_la_SOURCES = src/cache.c
103106liboauth2_cache_la_CPPFLAGS = $(AM_CPPFLAGS )
104107liboauth2_cache_la_CFLAGS = @CURL_CFLAGS@ @CJOSE_CFLAGS@ @PCRE2_CFLAGS@
@@ -134,6 +137,7 @@ liboauth2_apache_la_pkgconfig_DATA = liboauth2_apache.pc
134137liboauth2_apache_la_CPPFLAGS = $(AM_CPPFLAGS ) -DHAVE_APACHE
135138liboauth2_apache_la_CFLAGS = @APACHE_CFLAGS@ @PCRE2_CFLAGS@
136139liboauth2_apache_la_LIBADD = liboauth2.la @APR_LIBS@ @JANSSON_LIBS@
140+ liboauth2_apache_la_LDFLAGS = @LIBTOOL_EXTRA_FLAGS@
137141
138142includesub_HEADERS += \
139143 include/oauth2/apache.h
@@ -155,6 +159,7 @@ liboauth2_nginx_la_pkgconfig_DATA = liboauth2_nginx.pc
155159liboauth2_nginx_la_CPPFLAGS = $(AM_CPPFLAGS ) -DHAVE_NGINX
156160liboauth2_nginx_la_CFLAGS = @NGINX_CFLAGS@ @PCRE2_CFLAGS@
157161liboauth2_nginx_la_LIBADD = liboauth2.la @NGINX_LIBS@ @JANSSON_LIBS@
162+ liboauth2_nginx_la_LDFLAGS = @LIBTOOL_EXTRA_FLAGS@
158163
159164includesub_HEADERS += \
160165 include/oauth2/nginx.h
Original file line number Diff line number Diff line change @@ -9,6 +9,10 @@ AC_PROG_CC
99
1010AX_CODE_COVERAGE
1111
12+ LIBOAUTH2_LIBRARY_VERSION=1:0:0
13+ LIBTOOL_EXTRA_FLAGS="-version-info $LIBOAUTH2_LIBRARY_VERSION"
14+ AC_SUBST ( [ LIBTOOL_EXTRA_FLAGS] )
15+
1216PKG_CHECK_MODULES(OPENSSL, openssl)
1317AC_SUBST ( OPENSSL_CFLAGS )
1418AC_SUBST ( OPENSSL_LIBS )
You can’t perform that action at this time.
0 commit comments