mirror of
https://github.com/postgres/postgres.git
synced 2025-07-27 12:41:57 +03:00
Get rid of use of dlltool in Mingw builds.
We are almost completely out of the dlltool game, if this works. Hiroshi Inoue
This commit is contained in:
@ -72,6 +72,4 @@ win32ver.o: win32ver.rc
|
||||
|
||||
# Rule for building a shared library from a single .o file
|
||||
%.dll: %.o
|
||||
$(DLLTOOL) --export-all --output-def $*.def $<
|
||||
$(DLLWRAP) -o $@ --def $*.def $< $(LDFLAGS) $(LDFLAGS_SL) $(BE_DLLLIBS)
|
||||
rm -f $*.def
|
||||
$(CC) $(CFLAGS) -shared -o $@ $< -Wl,--export-all-symbols $(LDFLAGS) $(LDFLAGS_SL) $(BE_DLLLIBS)
|
||||
|
Reference in New Issue
Block a user