From eda04886c1e048d695728206504ab4198462168e Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Tue, 4 Oct 2016 17:49:07 -0400 Subject: Avoid direct cross-module links in hstore_plperl and ltree_plpython, too. Just turning the crank on the project started in commit d51924be8. These cases turn out to be exact subsets of the boilerplate needed for hstore_plpython. Discussion: <2652.1475512158@sss.pgh.pa.us> --- src/tools/msvc/Mkvcbuild.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/tools/msvc/Mkvcbuild.pm b/src/tools/msvc/Mkvcbuild.pm index d2ab9e466ef..de764dd4d44 100644 --- a/src/tools/msvc/Mkvcbuild.pm +++ b/src/tools/msvc/Mkvcbuild.pm @@ -480,10 +480,11 @@ sub mkvcbuild 'plpython' . $pymajorver, 'src/pl/plpython', 'hstore', 'contrib/hstore'); $hstore_plpython->AddDefine('PLPYTHON_LIBNAME="plpython' . $pymajorver . '"'); - AddTransformModule( + my $ltree_plpython = AddTransformModule( 'ltree_plpython' . $pymajorver, 'contrib/ltree_plpython', 'plpython' . $pymajorver, 'src/pl/plpython', 'ltree', 'contrib/ltree'); + $ltree_plpython->AddDefine('PLPYTHON_LIBNAME="plpython' . $pymajorver . '"'); } if ($solution->{options}->{perl}) -- cgit v1.2.3