diff --git a/programs/Makefile b/programs/Makefile index ee78a6537..b23b11fe4 100644 --- a/programs/Makefile +++ b/programs/Makefile @@ -8,9 +8,9 @@ LDFLAGS ?= LOCAL_CFLAGS = $(WARNING_CFLAGS) -I../include -D_FILE_OFFSET_BITS=64 LOCAL_LDFLAGS = -L../library \ - -lmbedcrypto$(SHARED_SUFFIX) \ + -lmbedtls$(SHARED_SUFFIX) \ -lmbedx509$(SHARED_SUFFIX) \ - -lmbedtls$(SHARED_SUFFIX) + -lmbedcrypto$(SHARED_SUFFIX) ifndef SHARED DEP=../library/libmbedcrypto.a ../library/libmbedx509.a ../library/libmbedtls.a diff --git a/tests/Makefile b/tests/Makefile index b53a7c32b..ccaacfc8f 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -8,9 +8,9 @@ LDFLAGS ?= LOCAL_CFLAGS = $(WARNING_CFLAGS) -I../include -D_FILE_OFFSET_BITS=64 LOCAL_LDFLAGS = -L../library \ - -lmbedcrypto$(SHARED_SUFFIX) \ + -lmbedtls$(SHARED_SUFFIX) \ -lmbedx509$(SHARED_SUFFIX) \ - -lmbedtls$(SHARED_SUFFIX) + -lmbedcrypto$(SHARED_SUFFIX) ifndef SHARED DEP=../library/libmbedcrypto.a ../library/libmbedx509.a ../library/libmbedtls.a