From ed24b4dd2af909e04015095f3aec5a205a4c4962 Mon Sep 17 00:00:00 2001 From: chenzhikai <895543892@qq.com> Date: Wed, 1 Mar 2023 10:45:01 +0800 Subject: [PATCH] =?UTF-8?q?dblink=E5=AE=89=E8=A3=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- GNUmakefile.in | 2 +- contrib/dblink/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/GNUmakefile.in b/GNUmakefile.in index 77878d460..53aa24d77 100644 --- a/GNUmakefile.in +++ b/GNUmakefile.in @@ -83,7 +83,6 @@ install: $(MAKE) install_pldebugger $(MAKE) -C contrib/postgres_fdw $@ $(MAKE) -C contrib/hstore $@ - $(MAKE) -C contrib/dblink $@ $(MAKE) -C $(root_builddir)/privategauss/kernel/extension/packages $@ +@echo "openGauss installation complete." endif @@ -94,6 +93,7 @@ install: $(MAKE) install_pldebugger $(MAKE) -C contrib/postgres_fdw $@ $(MAKE) -C contrib/hstore $@ + $(MAKE) -C contrib/dblink $@ @if test -d contrib/dolphin; then $(MAKE) -C contrib/dolphin $@; fi +@echo "openGauss installation complete." endif diff --git a/contrib/dblink/Makefile b/contrib/dblink/Makefile index 605dfa501..48bfeb160 100644 --- a/contrib/dblink/Makefile +++ b/contrib/dblink/Makefile @@ -3,7 +3,7 @@ MODULE_big = dblink OBJS = dblink.o PG_CPPFLAGS = -I$(libpq_srcdir) -SHLIB_LINK = $(libpq) -lodbc +SHLIB_LINK = $(libpq) -L$(LIBODBC_LIB_PATH) -lodbc SHLIB_PREREQS = submake-libpq EXTENSION = dblink