Skip to content

Commit

Permalink
Makefile.am: use pkglib_LTLIBRARIES
Browse files Browse the repository at this point in the history
Signed-off-by: Hans Zandbelt <[email protected]>
  • Loading branch information
zandbelt committed Jun 21, 2024
1 parent eca5cdb commit d61664d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
3 changes: 3 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
06/21/2024
- Makefile.am: use pkglib_LTLIBRARIES

06/05/2024
- depend on liboauth2 >= 1.6.2
- release 3.5.0
Expand Down
10 changes: 2 additions & 8 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ includesubdir = $(includedir)/oauth2
includesub_HEADERS = \
src/liboauth2-sts/include/oauth2/sts.h

lib_LTLIBRARIES = @[email protected]
pkglib_LTLIBRARIES = @[email protected]
pkglibdir = $(libdir)/nginx/modules

@PACKAGE_NAME@_la_CFLAGS = @OAUTH2_CFLAGS@ @OAUTH2_NGINX_CFLAGS@ @NGINX_CFLAGS@ @XML_CFLAGS@ -I${srcdir}/src/liboauth2-sts/include
@PACKAGE_NAME@_la_LIBADD = @OAUTH2_LIBS@ @OAUTH2_NGINX_LIBS@ @NGINX_LIBS@ @XML_LIBS@
Expand All @@ -33,10 +34,3 @@ lib_LTLIBRARIES = @[email protected]

clang-format:
clang-format -style=file -i `find . -name *.[ch]`

install:
${INSTALL} -d $(DESTDIR)/usr/local/nginx/modules/
${INSTALL} -p -m 755 .libs/@[email protected] $(DESTDIR)/usr/local/nginx/modules/@[email protected]

uninstall:
rm -f $(DESTDIR)/usr/local/nginx/modules/@[email protected]

0 comments on commit d61664d

Please sign in to comment.