mirror of
https://github.com/postgres/postgres.git
synced 2025-07-27 12:41:57 +03:00
Add file version information to most installed Windows binaries.
Prominent binaries already had this metadata. A handful of minor binaries, such as pg_regress.exe, still lack it; efforts to eliminate such exceptions are welcome. Michael Paquier, reviewed by MauMau.
This commit is contained in:
@ -75,5 +75,5 @@ win32ver.o: win32ver.rc
|
||||
$(WINDRES) -i $< -o $@ --include-dir=$(top_builddir)/src/include --include-dir=$(srcdir)
|
||||
|
||||
# Rule for building a shared library from a single .o file
|
||||
%.dll: %.o
|
||||
$(CC) $(CFLAGS) -shared -o $@ $< -Wl,--export-all-symbols $(LDFLAGS) $(LDFLAGS_SL) $(BE_DLLLIBS)
|
||||
%.dll: %.o $(WIN32RES)
|
||||
$(CC) $(CFLAGS) -shared -o $@ $^ -Wl,--export-all-symbols $(LDFLAGS) $(LDFLAGS_SL) $(BE_DLLLIBS)
|
||||
|
@ -224,7 +224,7 @@ endif # MODULE_big
|
||||
|
||||
clean:
|
||||
ifdef MODULES
|
||||
rm -f $(addsuffix $(DLSUFFIX), $(MODULES)) $(addsuffix .o, $(MODULES))
|
||||
rm -f $(addsuffix $(DLSUFFIX), $(MODULES)) $(addsuffix .o, $(MODULES)) $(WIN32RES)
|
||||
endif
|
||||
ifdef DATA_built
|
||||
rm -f $(DATA_built)
|
||||
|
Reference in New Issue
Block a user