summaryrefslogtreecommitdiff
path: root/src/test/modules/Makefile
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2020-03-25 19:37:30 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2020-03-25 19:37:30 -0400
commit13c98bdfc41eefb75da24fd2a886b0ef5314b7f6 (patch)
tree145f90a3de722176a39412baa75860c5ca54183d /src/test/modules/Makefile
parent896fcdb230e729652d37270c8606ccdc45212f0d (diff)
Fix assorted portability issues in commit 896fcdb23.
Some platforms require libssl to be linked explicitly in the new SSL test module. Borrow contrib/sslinfo's code for that. Since src/test/modules/Makefile now has a variable SUBDIRS list, it needs to follow the ALWAYS_SUBDIRS protocol for that (cf. comments in Makefile.global.in). Blindly try to fix MSVC build failures by adding PGDLLIMPORT.
Diffstat (limited to 'src/test/modules/Makefile')
-rw-r--r--src/test/modules/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/test/modules/Makefile b/src/test/modules/Makefile
index 5f975ebcbac..29de73c0606 100644
--- a/src/test/modules/Makefile
+++ b/src/test/modules/Makefile
@@ -27,7 +27,9 @@ SUBDIRS = \
ifeq ($(with_openssl),yes)
SUBDIRS += ssl_passphrase_callback
+else
+ALWAYS_SUBDIRS += ssl_passphrase_callback
endif
-
$(recurse)
+$(recurse_always)