Windows: Also use -lshlwapi for jq(1)
This commit is contained in:
1 parent
c695f2cd9c
commit
9801de6979
1 file changed
+4
@@ -109,6 +109,10 @@ jq_SOURCES = src/main.c src/version.h
|
|||||||
jq_LDFLAGS = -static-libtool-libs
|
jq_LDFLAGS = -static-libtool-libs
|
||||||
jq_LDADD = libjq.la -lm
|
jq_LDADD = libjq.la -lm
|
||||||
|
|
||||||
|
if WIN32
|
||||||
|
jq_LDADD += -lshlwapi
|
||||||
|
endif
|
||||||
|
|
||||||
if ENABLE_ALL_STATIC
|
if ENABLE_ALL_STATIC
|
||||||
jq_LDFLAGS += -all-static
|
jq_LDFLAGS += -all-static
|
||||||
endif
|
endif
|
||||||
|
|||||||
Reference in new issue
Block a user