mirror of
https://github.com/postgres/postgres.git
synced 2025-06-23 14:01:44 +03:00
Consistently define BUILDING_DLL during builds of src/port for Windows.
The MSVC build process already did so; this fixes the principal build process to match. Both processes already did likewise for src/common. This lets server builds of src/port reference postgres.exe data symbols.
This commit is contained in:
@ -28,6 +28,10 @@ ifneq (,$(findstring src/common,$(subdir)))
|
|||||||
override CPPFLAGS+= -DBUILDING_DLL
|
override CPPFLAGS+= -DBUILDING_DLL
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifneq (,$(findstring src/port,$(subdir)))
|
||||||
|
override CPPFLAGS+= -DBUILDING_DLL
|
||||||
|
endif
|
||||||
|
|
||||||
ifneq (,$(findstring timezone,$(subdir)))
|
ifneq (,$(findstring timezone,$(subdir)))
|
||||||
override CPPFLAGS+= -DBUILDING_DLL
|
override CPPFLAGS+= -DBUILDING_DLL
|
||||||
endif
|
endif
|
||||||
|
@ -27,6 +27,10 @@ ifneq (,$(findstring src/common,$(subdir)))
|
|||||||
override CPPFLAGS+= -DBUILDING_DLL
|
override CPPFLAGS+= -DBUILDING_DLL
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifneq (,$(findstring src/port,$(subdir)))
|
||||||
|
override CPPFLAGS+= -DBUILDING_DLL
|
||||||
|
endif
|
||||||
|
|
||||||
ifneq (,$(findstring timezone,$(subdir)))
|
ifneq (,$(findstring timezone,$(subdir)))
|
||||||
override CPPFLAGS+= -DBUILDING_DLL
|
override CPPFLAGS+= -DBUILDING_DLL
|
||||||
endif
|
endif
|
||||||
|
Reference in New Issue
Block a user