Skip to content

Commit

Permalink
Add search LIB to LDFLAGS also
Browse files Browse the repository at this point in the history
  • Loading branch information
attipaci committed Sep 25, 2024
1 parent 99ac9a7 commit c0888b7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions config.mk
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ LDFLAGS += $(THREADS) -lredisx -lxchange

# Search for libraries under LIB
ifneq ($(findstring $(LIB),$(LD_LIBRARY_PATH)),$LIB)
LDFLAGS += -L$(LIB)
LD_LIBRARY_PATH := $(LIB):$(LD_LIBRARY_PATH)
endif

Expand Down

0 comments on commit c0888b7

Please sign in to comment.