diff options
| author | Tom Lane | 2014-02-12 16:22:23 +0000 |
|---|---|---|
| committer | Tom Lane | 2014-02-12 16:22:23 +0000 |
| commit | b23fd2d8b3cdfea5b6998c1ab95ae3e776a8f832 (patch) | |
| tree | 063138e5db6c67c1bb248c8d7fdd9d48b9f4900b /src | |
| parent | a5eed4d7706749046e74fa2e23823beb43f254fd (diff) | |
Tweak position of $(DLL_DEFFILE) in shared-library link commands.
Reading the GNU ld man page suggests that this is order-sensitive
and should go in front of library references. Correction to commit
846e91e0223cf9f2821c3ad4dfffffbb929cb027.
Diffstat (limited to 'src')
| -rw-r--r-- | src/Makefile.shlib | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Makefile.shlib b/src/Makefile.shlib index 1db906034d6..029c7e96fcb 100644 --- a/src/Makefile.shlib +++ b/src/Makefile.shlib @@ -384,7 +384,7 @@ else DLL_DEFFILE = lib$(NAME)dll.def $(shlib): $(OBJS) $(DLL_DEFFILE) | $(SHLIB_PREREQS) - $(CC) $(CFLAGS) -shared -o $@ $(OBJS) $(LDFLAGS) $(LDFLAGS_SL) $(SHLIB_LINK) $(LIBS) $(DLL_DEFFILE) -Wl,--out-implib=$(stlib) + $(CC) $(CFLAGS) -shared -o $@ $(OBJS) $(DLL_DEFFILE) $(LDFLAGS) $(LDFLAGS_SL) $(SHLIB_LINK) $(LIBS) -Wl,--out-implib=$(stlib) endif endif # PORTNAME == cgywin |
