use -Wl,--stack, instead of -Wl,--stack= comment out static assert on WSA_INVALID_EVENT that clang thought was not a compile-time constant. copy pre-packaged pgevent.def instead of using the (broken) auto-generated version (see src/bin/pgevent/README)
13 lines
466 B
Diff
13 lines
466 B
Diff
--- postgresql-13.1/src/bin/pgevent/Makefile.orig 2021-07-18 16:38:12.660763100 -0700
|
|
+++ postgresql-13.1/src/bin/pgevent/Makefile 2021-07-18 16:38:41.035766900 -0700
|
|
@@ -29,6 +29,9 @@
|
|
|
|
include $(top_srcdir)/src/Makefile.shlib
|
|
|
|
+libpgeventdll.def: pgevent.def
|
|
+ cp -f $< $@
|
|
+
|
|
pgmsgevent.o: pgmsgevent.rc win32ver.rc
|
|
$(WINDRES) $< -o $@ --include-dir=$(top_builddir)/src/include --include-dir=$(top_srcdir)/src/include --include-dir=$(srcdir) --include-dir=.
|
|
|