node-yara-rs

git clone git://archive.git.mtrnord.blog/MTRNord/node-yara-rs.git
Log | Files | Refs | README | LICENSE

commit ebd9dca065e9f8bf08e603b61e3c9b2f030a7502
parent b281b62068a712fec2ce54947bb79c48ce3cd8bc
Author: MTRNord <mtrnord1@gmail.com>
Date:   Sat,  7 Oct 2023 23:43:17 +0200

Fix LDFLAGS for yara (maybe)

Diffstat:
MMakefile | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile @@ -8,6 +8,8 @@ LDFLAGS += -L/usr/local/lib JANSSON_LDFLAGS += $(LDFLAGS) endif +LDFLAGS_JANSSON += -L$(BASE)/build/jansson/lib + ifeq ($(findstring arm64,$(CFLAGS)),arm64) CFGOPTS += --host=aarch64-apple-darwin endif @@ -68,7 +70,7 @@ yara: clean jansson cd $(BASE)/deps/yara-$(YARA) && ./bootstrap.sh cd $(BASE)/deps/yara-$(YARA) && \ CFLAGS="$(CFLAGS)" \ - LDFLAGS="$(LDFLAGS)" \ + LDFLAGS="$(LDFLAGS) $(LDFLAGS_JANSSON)" \ ./configure \ $(CFGOPTS) \ --enable-cuckoo \