From 7440599cb1e357fa3ca8f801ce1d59caadca4d72 Mon Sep 17 00:00:00 2001 From: Attila Kovacs Date: Wed, 25 Sep 2024 15:42:33 +0200 Subject: [PATCH] Add search LIB to LDFLAGS also --- config.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/config.mk b/config.mk index 4202265..d98cd61 100644 --- a/config.mk +++ b/config.mk @@ -63,6 +63,7 @@ LDFLAGS += -lm -lxchange # Search for libraries under LIB ifneq ($(findstring $(LIB),$(LD_LIBRARY_PATH)),$LIB) + LDFLAGS += -L$(LIB) LD_LIBRARY_PATH := $(LIB):$(LD_LIBRARY_PATH) endif