Makefile: set LDFLAGS correct when built with MINGW32
Signed-off-by: Stefan Naewe <stefan.naewe@googlemail.com>
This commit is contained in:
parent
9d7f692d4e
commit
9c68aa0a94
4
Makefile
4
Makefile
|
@ -28,6 +28,10 @@ ifdef COMSPEC
|
||||||
ifndef CPPCHK_GLIBCXX_DEBUG
|
ifndef CPPCHK_GLIBCXX_DEBUG
|
||||||
CPPCHK_GLIBCXX_DEBUG=
|
CPPCHK_GLIBCXX_DEBUG=
|
||||||
endif # !CPPCHK_GLIBCXX_DEBUG
|
endif # !CPPCHK_GLIBCXX_DEBUG
|
||||||
|
|
||||||
|
ifeq ($(MSYSTEM),MINGW32)
|
||||||
|
LDFLAGS=-lshlwapi
|
||||||
|
endif
|
||||||
else # !COMSPEC
|
else # !COMSPEC
|
||||||
uname_S := $(shell sh -c 'uname -s 2>/dev/null || echo not')
|
uname_S := $(shell sh -c 'uname -s 2>/dev/null || echo not')
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue