From 9801de6979e154a67fa8a771f58f5697e84761e8 Mon Sep 17 00:00:00 2001 From: Nicolas Williams Date: Sat, 25 Feb 2017 14:15:18 -0600 Subject: Windows: Also use -lshlwapi for jq(1) --- Makefile.am | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile.am b/Makefile.am index 3c3095d1..73b02ef3 100644 --- a/Makefile.am +++ b/Makefile.am @@ -109,6 +109,10 @@ jq_SOURCES = src/main.c src/version.h jq_LDFLAGS = -static-libtool-libs jq_LDADD = libjq.la -lm +if WIN32 +jq_LDADD += -lshlwapi +endif + if ENABLE_ALL_STATIC jq_LDFLAGS += -all-static endif -- cgit v1.2.3