diff options
author | Nicolas Boos <nicolas.boos@wanadoo.fr> | 2014-02-07 07:53:32 +0800 |
---|---|---|
committer | Nicolas Boos <nicolas.boos@wanadoo.fr> | 2014-02-07 07:53:32 +0800 |
commit | 5ea428a30dd275aa849c263d425c26a5b06c5b3a (patch) | |
tree | e19b7de6e857dfcaac6420d40436686046c26df7 | |
parent | af524c4d6534f32f945698a3e53e14cd38f923fb (diff) |
Avoid linking dropbearconvert and dropbearkey to libz or libutil
-rw-r--r-- | Makefile.in | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/Makefile.in b/Makefile.in index 9b8c164..afb8351 100644 --- a/Makefile.in +++ b/Makefile.in @@ -19,7 +19,7 @@ LTM=libtommath/libtommath.a ifeq (@BUNDLED_LIBTOM@, 1) LIBTOM_DEPS=$(LTC) $(LTM) CFLAGS+=-I$(srcdir)/libtomcrypt/src/headers/ -LIBS+=$(LTC) $(LTM) +LIBTOM_LIBS+=$(LTC) $(LTM) endif COMMONOBJS=dbutil.o buffer.o \ @@ -160,8 +160,11 @@ dbclient: $(dbclientobjs) dropbearkey: $(dropbearkeyobjs) dropbearconvert: $(dropbearconvertobjs) -dropbear dbclient dropbearkey dropbearconvert: $(HEADERS) $(LIBTOM_DEPS) Makefile - $(CC) $(LDFLAGS) -o $@$(EXEEXT) $($@objs) $(LIBS) +dropbear dbclient: $(HEADERS) $(LIBTOM_DEPS) Makefile + $(CC) $(LDFLAGS) -o $@$(EXEEXT) $($@objs) $(LIBTOM_LIBS) $(LIBS) + +dropbearkey dropbearconvert: $(HEADERS) $(LIBTOM_DEPS) Makefile + $(CC) $(LDFLAGS) -o $@$(EXEEXT) $($@objs) $(LIBTOM_LIBS) # scp doesn't use the libs so is special. scp: $(SCPOBJS) $(HEADERS) Makefile @@ -176,7 +179,7 @@ ifeq ($(MULTI),1) endif dropbearmulti$(EXEEXT): $(HEADERS) $(MULTIOBJS) $(LIBTOM_DEPS) Makefile - $(CC) $(LDFLAGS) -o $@ $(MULTIOBJS) $(LIBS)$ + $(CC) $(LDFLAGS) -o $@ $(MULTIOBJS) $(LIBTOM_LIBS) $(LIBS)$ multibinary: dropbearmulti$(EXEEXT) |