diff --git a/main/Makefile b/main/Makefile index 4d446f08c2e5206334b227ecb6bc8158f8b37e5a..3429723b6c43993ff648cf578201b95dc4c9322f 100644 --- a/main/Makefile +++ b/main/Makefile @@ -29,6 +29,9 @@ OBJS=$(filter-out $(OBJSFILTER),$(SRC:.c=.o)) # otherwise modules will not have them available if none of the static # objects use it. OBJS+=stdtime/localtime.o +ifneq ($(firstword $(subst :, ,$(WEAKREF))),1) +OBJS+=../res/res_adsi.o +endif ASTSSL_LIBS:=$(OPENSSL_LIB) AST_LIBS+=$(BKTR_LIB)