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

Commit8d6e2d4

Browse files
committed
Revert to using --enable-auto-import in Cygwin builds.
Disabling auto-import requires that all libraries we use be careful aboutdeclspecs for exported variables; and it seems they aren't. This meansthat Cygwin will not give us useful info about missing PGDLLIMPORT markers;but it's probably sufficient that MSVC and Mingw builds do.
1 parent734ff84 commit8d6e2d4

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

‎src/template/cygwin

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,6 @@ SRCH_LIB="/usr/local/lib"
44

55
# --allow-multiple-definition is required to link pg_dump because it finds
66
# pg_toupper() etc. in both libpq and pgport
7-
# --disable-auto-import is to ensure we get MSVC-like linking behavior
8-
LDFLAGS="-Wl,--allow-multiple-definition -Wl,--disable-auto-import"
7+
# we'd prefer to use --disable-auto-import to match MSVC linking behavior,
8+
# but support for it in Cygwin is too haphazard
9+
LDFLAGS="-Wl,--allow-multiple-definition -Wl,--enable-auto-import"

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp