diff options
author | Peter Eisentraut | 2022-03-25 07:44:31 +0000 |
---|---|---|
committer | Peter Eisentraut | 2022-03-25 07:56:02 +0000 |
commit | 23119d51a14c046dae35ae5e6ad9e35982d044fd (patch) | |
tree | 890a141660b21c60d9f6e2fc8efd7944a55673a9 /src/template/cygwin | |
parent | 56566835039ac5eed70f188518cef1a7ea0971b2 (diff) |
Refactor DLSUFFIX handling
Move DLSUFFIX from makefiles into header files for all platforms.
Move the DLSUFFIX assignment from src/makefiles/ to src/templates/,
have configure read it, and then substitute it into Makefile.global
and pg_config.h. This avoids the need for all makefile rules that
need it to locally set CPPFLAGS. It also resolves an inconsistent
setup between the two Windows build systems.
Reviewed-by: Andres Freund <[email protected]>
Discussion: https://www.postgresql.org/message-id/[email protected]
Diffstat (limited to 'src/template/cygwin')
-rw-r--r-- | src/template/cygwin | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/template/cygwin b/src/template/cygwin index 1e7274bc33a..3f42e2f8b69 100644 --- a/src/template/cygwin +++ b/src/template/cygwin @@ -13,3 +13,5 @@ CFLAGS_SL="" # we'd prefer to use --disable-auto-import to match MSVC linking behavior, # but support for it in Cygwin is too haphazard LDFLAGS="$LDFLAGS -Wl,--allow-multiple-definition -Wl,--enable-auto-import" + +DLSUFFIX=".dll" |