mirror of
https://github.com/abraunegg/onedrive
synced 2026-03-14 14:35:46 +01:00
Makefile.in: Pass libraries after source files in compiler invocation (#3272)
When building with gdc alongside the linker flag -Wl,--as-needed the build fails with unresolved symbol errors. dmd and ldc2 are not affected since they internally pass the generated object file before other linker flags. This also matches the standard GNU make rules. Signed-off-by: Andrei Horodniceanu <a.horodniceanu@proton.me>
This commit is contained in:
parent
73194b0169
commit
71bfab619e
1 changed files with 1 additions and 1 deletions
|
|
@ -100,7 +100,7 @@ onedrive: $(SOURCES)
|
|||
else \
|
||||
echo $(version) > version ; \
|
||||
fi
|
||||
$(DC) -J. $(NOTIF_VERSIONS) $(DCFLAGS) $(addprefix $(LINKER_DCFLAG),$(all_libs)) $^ $(OUTPUT_DCFLAG)$@
|
||||
$(DC) -J. $(NOTIF_VERSIONS) $(DCFLAGS) $^ $(addprefix $(LINKER_DCFLAG),$(all_libs)) $(OUTPUT_DCFLAG)$@
|
||||
|
||||
install: all
|
||||
mkdir -p $(DESTDIR)$(bindir)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue