Skip to content

Commit 349cd8c

Browse files
Fix VPATH builds for src/test/ssl targets
Commit b4c4a00 refactored the gist of the sslfiles target into a separate makefile in order to override settings in Makefile.global. The invocation of this this file didn't however include the absolute path for VPATH builds, resulting in "make clean" failing. Fix by providing the path to the new makefile. Reported-by: Andres Freund <andres@anarazel.de> Discussion: https://postgr.es/m/20211026174152.jjcagswnbhxu7uqz@alap3.anarazel.de
1 parent a5213ad commit 349cd8c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/ssl/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@ export with_ssl
1919
# with settings in Makefile.global.
2020
.PHONY: sslfiles sslfiles-clean
2121
sslfiles sslfiles-clean:
22-
$(MAKE) -f sslfiles.mk $@
22+
$(MAKE) -f $(srcdir)/sslfiles.mk $@
2323

2424
clean distclean maintainer-clean:
2525
rm -rf tmp_check
26-
$(MAKE) -f sslfiles.mk $@
26+
$(MAKE) -f $(srcdir)/sslfiles.mk $@
2727

2828
# Doesn't depend on sslfiles because we don't rebuild them by default
2929
check:

0 commit comments

Comments
 (0)