Fix build failure when configured with --with-openssl
authorPavan Deolasee <[email protected]>
Mon, 15 Feb 2016 18:23:22 +0000 (23:53 +0530)
committerPavan Deolasee <[email protected]>
Mon, 15 Feb 2016 18:30:09 +0000 (00:00 +0530)
src/backend/Makefile

index c533956813443f0d5349fca819d882c70b80a06b..16b0787e9b19e632980971be3dceed3becd56b3e 100644 (file)
@@ -54,6 +54,10 @@ OBJS = $(SUBDIROBJS) $(LOCALOBJS) \
        $(top_builddir)/src/gtm/common/libgtm.a \
        $(top_builddir)/src/gtm/libpq/libpqcomm.a
 
+ifeq ($(with_openssl), yes)
+OBJS += $(top_builddir)/src/interfaces/libpq/fe-secure-openssl.o
+endif
+
 # We put libpgport and libpgcommon into OBJS, so remove it from LIBS; also add
 # libldap
 LIBS := $(filter-out -lpgport -lpgcommon, $(LIBS)) $(LDAP_LIBS_BE)