forked from Mirror/wren
Tweak makefile formatting.
This commit is contained in:
12
util/wren.mk
12
util/wren.mk
@ -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)
|
||||
|
||||
Reference in New Issue
Block a user