diff --git a/contrib/sslinfo/Makefile b/contrib/sslinfo/Makefile
index 33032e5d64b52a121b9305586e9d868dee9a4351..4818a613f2128d1f0ea44fcf8a3a3bd7288e88cd 100644
--- a/contrib/sslinfo/Makefile
+++ b/contrib/sslinfo/Makefile
@@ -1,4 +1,5 @@
-MODULES = sslinfo
+MODULE_big = sslinfo
+OBJS = sslinfo.o
 DATA_built = sslinfo.sql
 DOC = README.pgsslinfo
 
@@ -11,3 +12,5 @@ top_builddir = ../..
 include $(top_builddir)/src/Makefile.global
 include $(top_srcdir)/contrib/contrib-global.mk
 endif
+
+SHLIB_LINK += $(LIBS)