From: Nicolas Williams Date: Sat, 25 Feb 2017 20:15:18 +0000 (-0600) Subject: Windows: Also use -lshlwapi for jq(1) X-Git-Tag: jq-1.6rc1~67 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9801de6979e154a67fa8a771f58f5697e84761e8;p=jq Windows: Also use -lshlwapi for jq(1) --- diff --git a/Makefile.am b/Makefile.am index 3c3095d..73b02ef 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