diff options
| author | Andrew Dunstan <andrew@dunslane.net> | 2022-02-10 13:44:05 -0500 |
|---|---|---|
| committer | Andrew Dunstan <andrew@dunslane.net> | 2022-02-10 13:44:05 -0500 |
| commit | ea09a75e1efe42318abfb8ece90ce70037201f59 (patch) | |
| tree | f0f9a22514e7d91d295d52aab348a3d9aa72c6c0 /src/pl/plperl | |
| parent | 0da92dc530c9251735fc70b20cd004d9630a1266 (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/plperl')
| -rw-r--r-- | src/pl/plperl/GNUmakefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pl/plperl/GNUmakefile b/src/pl/plperl/GNUmakefile index 919d46453f6..a2e6410f533 100644 --- a/src/pl/plperl/GNUmakefile +++ b/src/pl/plperl/GNUmakefile @@ -48,7 +48,7 @@ lib$(perlwithver).a: $(perlwithver).def dlltool --dllname $(perlwithver).dll --def $(perlwithver).def --output-lib lib$(perlwithver).a $(perlwithver).def: $(PERLDLL) - pexports $^ > $@ + gendef - $^ > $@ endif # win32 |
