summaryrefslogtreecommitdiff
path: root/main/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'main/Makefile')
-rw-r--r--main/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/main/Makefile b/main/Makefile
index 4d446f08c..3429723b6 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)