mirror of
https://git.notmuchmail.org/git/notmuch
synced 2025-03-14 03:25:15 +01:00
Makefile: Build library with -Wl,--as-needed
Previously, we were building the final binary with this option, but not the library. The library can benefit from it as well, (as pointed out by Debian's lintian).
This commit is contained in:
parent
1cb28764d8
commit
ffae2dc9da
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ endif
|
|||
ifeq ($(LIBDIR_IN_LDCONFIG),0)
|
||||
FINAL_NOTMUCH_LDFLAGS += $(RPATH_LDFLAGS)
|
||||
endif
|
||||
FINAL_LIBNOTMUCH_LDFLAGS = $(LDFLAGS) $(CONFIGURE_LDFLAGS)
|
||||
FINAL_LIBNOTMUCH_LDFLAGS = $(LDFLAGS) $(CONFIGURE_LDFLAGS) $(AS_NEEDED_LDFLAGS)
|
||||
|
||||
.PHONY: all
|
||||
all: notmuch notmuch-shared notmuch.1.gz
|
||||
|
|
Loading…
Add table
Reference in a new issue