diff options
| author | Oskari Timperi <oskari.timperi@iki.fi> | 2014-05-26 09:48:02 +0300 |
|---|---|---|
| committer | Oskari Timperi <oskari.timperi@iki.fi> | 2014-05-26 09:48:02 +0300 |
| commit | 36972f8ca14aabc0984c0ad87e5d26bac1ce3f15 (patch) | |
| tree | f42af934c348f5c0a2dc668e2e45025297f1ac5b /Makefile | |
| parent | 40ea6cf3817d7a7ac053ed9c1d3e44910e0475c8 (diff) | |
| download | libuvh-36972f8ca14aabc0984c0ad87e5d26bac1ce3f15.tar.gz libuvh-36972f8ca14aabc0984c0ad87e5d26bac1ce3f15.zip | |
mingw/msys fixes
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -7,6 +7,13 @@ LDFLAGS += CPPFLAGS += -Isrc LDLIBS += -luv +PLATFORM = $(shell uname -s | tr [A-Z] [a-z]) + +ifeq ($(findstring mingw32,$(PLATFORM)),mingw32) +LDLIBS += -lws2_32 -lpsapi -liphlpapi +else +endif + all: libuvh.a examples .PHONY: examples |
