Skip to content

Commit d61664d

Browse files
committed
Makefile.am: use pkglib_LTLIBRARIES
Signed-off-by: Hans Zandbelt <[email protected]>
1 parent eca5cdb commit d61664d

File tree

2 files changed

+5
-8
lines changed

2 files changed

+5
-8
lines changed

ChangeLog

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
06/21/2024
2+
- Makefile.am: use pkglib_LTLIBRARIES
3+
14
06/05/2024
25
- depend on liboauth2 >= 1.6.2
36
- release 3.5.0

Makefile.am

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ includesubdir = $(includedir)/oauth2
1414
includesub_HEADERS = \
1515
src/liboauth2-sts/include/oauth2/sts.h
1616

17-
lib_LTLIBRARIES = @[email protected]
17+
pkglib_LTLIBRARIES = @[email protected]
18+
pkglibdir = $(libdir)/nginx/modules
1819

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

3435
clang-format:
3536
clang-format -style=file -i `find . -name *.[ch]`
36-
37-
install:
38-
${INSTALL} -d $(DESTDIR)/usr/local/nginx/modules/
39-
${INSTALL} -p -m 755 .libs/@[email protected] $(DESTDIR)/usr/local/nginx/modules/@[email protected]
40-
41-
uninstall:
42-
rm -f $(DESTDIR)/usr/local/nginx/modules/@[email protected]

0 commit comments

Comments
 (0)