From 668087dc8b96d8126a5ea95a1e175b9db631043e Mon Sep 17 00:00:00 2001 From: misson20000 Date: Sun, 14 Apr 2019 01:03:52 -0700 Subject: [PATCH] Makefile: change LIBDIRS order Your custom build of mbedtls needs to be in front of `PORTLIBS` so it gets picked up if mbedtls from pacman is installed. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index fae9b9a..ca087e0 100644 --- a/Makefile +++ b/Makefile @@ -64,7 +64,7 @@ LIBS := -lnx -lmbedcrypto -lstdc++fs `freetype-config --libs` # list of directories containing libraries, this must be the top level containing # include and lib #--------------------------------------------------------------------------------- -LIBDIRS := $(PORTLIBS) $(LIBNX) $(TOPDIR)/source/mbedtls +LIBDIRS := $(TOPDIR)/source/mbedtls $(PORTLIBS) $(LIBNX) #---------------------------------------------------------------------------------