configure: Check for -lshell32 before forcibly adding it into LDFLAGSCLI
authorMartin Storsjö <martin@martin.st>
Fri, 24 Mar 2017 09:33:45 +0000 (11:33 +0200)
committerHenrik Gramner <henrik@gramner.com>
Sun, 21 May 2017 20:41:07 +0000 (22:41 +0200)
commitb22a5db3c481b10b4a6ec190978d97b377750a12
tree9d8dbdb2f8edefd76872c7553fa8262256985ff1
parent0aed59e74808f1cd22ee47c055a8eb4f367b2f55
configure: Check for -lshell32 before forcibly adding it into LDFLAGSCLI

When targeting the Windows Phone API subset, there is no shell32.lib.

When targeting Windows Phone/RT, the CLI itself won't be built, but
LDFLAGSCLI are included in all later cases of cc_check within configure.
Therefore only add -lshell32 there if it actually is usable.
configure