--- build/Makefile.env.orig 2021-03-15 18:16:43 UTC +++ build/Makefile.env @@ -333,6 +333,25 @@ INCDIRS = \ $(addprefix -I,$(XTINC) $(NGSINC)) \ -I. +# linker paths +LDPATHS = + +ifneq (,$(HDF5_LIBDIR)) + LDPATHS += -L$(HDF5_LIBDIR) +endif +ifneq (,$(XML2_LIBDIR)) + LDPATHS += -L$(XML2_LIBDIR) +endif +ifneq (,$(MAGIC_LIBDIR)) + LDPATHS += -L$(MAGIC_LIBDIR) +endif +ifneq (,$(MBEDTLS_LIBDIR)) + LDPATHS += -L$(MBEDTLS_LIBDIR) +endif +ifneq (,$(FUSE_LIBDIR)) + LDPATHS += -L$(FUSE_LIBDIR) +endif + # defines that describe os & architecture DLLX ?= $(SHLX)