Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit4f5f485

Browse files
committed
Avoid using dllwrap to build pgevent in Mingw builds.
If this works, we can get rid of configure's support for locating dllwrap... but let's see what the buildfarm says, first.Hiroshi Inoue
1 parent52acfd2 commit4f5f485

File tree

2 files changed

+13
-17
lines changed

2 files changed

+13
-17
lines changed

‎src/bin/pgevent/Makefile

Lines changed: 8 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -17,30 +17,21 @@ include $(top_builddir)/src/Makefile.global
1717
ifeq ($(PORTNAME), win32)
1818

1919
OBJS=pgevent.o pgmsgevent.o
20-
NAME=pgevent.dll
20+
NAME=pgevent
2121

22-
all:$(NAME)
22+
SHLIB_LINK =
23+
SHLIB_EXPORTS = exports.txt
24+
25+
all: all-lib
2326

2427
install: all install-lib
2528

26-
pgevent.dll: pgevent.def$(OBJS)
27-
$(DLLWRAP) --def$< -o$(NAME)$(OBJS)
29+
include$(top_srcdir)/src/Makefile.shlib
2830

2931
pgmsgevent.o: pgmsgevent.rc win32ver.rc
3032
$(WINDRES)$< -o$@ --include-dir=$(top_builddir)/src/include --include-dir=$(top_srcdir)/src/include --include-dir=$(srcdir) --include-dir=.
3133

32-
all-lib:$(NAME)
33-
34-
install-lib:$(NAME)
35-
$(INSTALL_STLIB)$<'$(DESTDIR)$(libdir)/$<'
36-
37-
uninstall-lib:
38-
rm -f'$(DESTDIR)$(libdir)/$(NAME)'
39-
40-
cleandistclean:
41-
rm -f$(OBJS)$(NAME) win32ver.rc
42-
43-
clean-lib:
44-
rm -f$(NAME)
34+
cleandistclean: clean-lib
35+
rm -f$(OBJS) win32ver.rc
4536

4637
endif

‎src/bin/pgevent/exports.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
; dlltool --output-def pgevent.def pgevent.o pgmsgevent.o
2+
EXPORTS
3+
DllUnregisterServer@0 ;
4+
DllRegisterServer@0 ;
5+
DllInstall ;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp