From 418d1d85abe6438da9f25c299e1031dc6eb312aa Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Wed, 15 Nov 2017 10:55:49 +0100 Subject: Use LDLIBS instead of LDFLAGS --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 76c2ef8..6f9775b 100644 --- a/Makefile +++ b/Makefile @@ -1,8 +1,8 @@ CRYPTO_CFLAGS := $(shell pkg-config --cflags libcrypto) -CRYPTO_LDFLAGS := $(shell pkg-config --libs libcrypto) +CRYPTO_LDLIBS := $(shell pkg-config --libs libcrypto) CFLAGS += -Wall -Wextra $(CRYPTO_CFLAGS) -LDFLAGS += $(CRYPTO_LDFLAGS) +LDLIBS += $(CRYPTO_LDLIBS) all : torrenthash -- cgit v1.2.3