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.
This commit is contained in:
misson20000 2019-04-14 01:03:52 -07:00 committed by GitHub
parent f7dc8f027b
commit 668087dc8b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)
#---------------------------------------------------------------------------------