summaryrefslogtreecommitdiff
path: root/src/pl/tcl
diff options
context:
space:
mode:
authorAndrew Dunstan <andrew@dunslane.net>2022-02-10 13:44:05 -0500
committerAndrew Dunstan <andrew@dunslane.net>2022-02-10 13:44:05 -0500
commitea09a75e1efe42318abfb8ece90ce70037201f59 (patch)
treef0f9a22514e7d91d295d52aab348a3d9aa72c6c0 /src/pl/tcl
parent0da92dc530c9251735fc70b20cd004d9630a1266 (diff)
downloadpostgresql-ea09a75e1efe42318abfb8ece90ce70037201f59.tar.gz
Use gendef instead of pexports for building windows .def files
Modern msys systems lack pexports but have gendef instead, so use that. Discussion: https://postgr.es/m/3ccde7a9-e4f9-e194-30e0-0936e6ad68ba@dunslane.net Backpatch to release 9.4 to enable building with perl on older branches. Before that pexports is not used for plperl.
Diffstat (limited to 'src/pl/tcl')
-rw-r--r--src/pl/tcl/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pl/tcl/Makefile b/src/pl/tcl/Makefile
index 1e7740da3f..25e65189b6 100644
--- a/src/pl/tcl/Makefile
+++ b/src/pl/tcl/Makefile
@@ -46,7 +46,7 @@ lib$(tclwithver).a: $(tclwithver).def
dlltool --dllname $(tclwithver).dll --def $(tclwithver).def --output-lib lib$(tclwithver).a
$(tclwithver).def: $(TCLDLL)
- pexports $^ > $@
+ gendef - $^ > $@
endif # win32