summaryrefslogtreecommitdiff
path: root/src/pl/plpython
diff options
context:
space:
mode:
authorAndrew Dunstan2022-02-10 18:44:05 +0000
committerAndrew Dunstan2022-02-10 18:44:05 +0000
commitea09a75e1efe42318abfb8ece90ce70037201f59 (patch)
treef0f9a22514e7d91d295d52aab348a3d9aa72c6c0 /src/pl/plpython
parent0da92dc530c9251735fc70b20cd004d9630a1266 (diff)
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/plpython')
-rw-r--r--src/pl/plpython/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pl/plpython/Makefile b/src/pl/plpython/Makefile
index 9e95285af8..a83ae8865c 100644
--- a/src/pl/plpython/Makefile
+++ b/src/pl/plpython/Makefile
@@ -69,7 +69,7 @@ libpython${pytverstr}.a: python${pytverstr}.def
dlltool --dllname python${pytverstr}.dll --def python${pytverstr}.def --output-lib libpython${pytverstr}.a
python${pytverstr}.def:
- pexports $(PYTHONDLL) > $@
+ gendef - $(PYTHONDLL) > $@
endif # win32