1
0
forked from Mirror/wren

Tweak makefile formatting.

This commit is contained in:
Bob Nystrom
2016-03-16 07:22:18 -07:00
parent 8c79501738
commit 678051c5e1

View File

@ -103,12 +103,12 @@ else
SHARED_LIB_FLAGS := -Wl,-soname,$@.so
SHARED_EXT := so
ifeq ($(OS),mingw32)
LIBUV_LIBS := -lws2_32 -liphlpapi -lpsapi -luserenv
else
# On Linux we need to explicitly link to these for libuv.
LIBUV_LIBS := -lpthread -lrt
endif
# Link in the right libraries needed by libuv on Windows and Linux.
ifeq ($(OS),mingw32)
LIBUV_LIBS := -lws2_32 -liphlpapi -lpsapi -luserenv
else
LIBUV_LIBS := -lpthread -lrt
endif
endif
CFLAGS := $(C_OPTIONS) $(C_WARNINGS)