mirror of
https://github.com/oven-sh/bun
synced 2026-02-02 15:08:46 +00:00
avoid undefined symbols
This commit is contained in:
4
Makefile
4
Makefile
@@ -758,6 +758,10 @@ build-obj-safe:
|
||||
$(ZIG) build obj -Doptimize=ReleaseSafe -Dcpu="$(CPU_TARGET)"
|
||||
|
||||
UWS_CC_FLAGS = -pthread -DUWS_HTTPRESPONSE_NO_WRITEMARK=1 -DLIBUS_USE_BORINGSSL=1 -DWITH_BORINGSSL=1 -Wpedantic -Wall -Wextra -Wsign-conversion -Wconversion $(UWS_INCLUDE) -DUWS_WITH_PROXY
|
||||
ifneq ($(OS_NAME),darwin)
|
||||
UWS_CC_FLAGS += -DLIBUS_USE_OPENSSL=1
|
||||
endif
|
||||
|
||||
UWS_CXX_FLAGS = $(UWS_CC_FLAGS) -std=$(CXX_VERSION) -fno-exceptions -fno-rtti
|
||||
UWS_LDFLAGS = -I$(BUN_DEPS_DIR)/boringssl/include -I$(ZLIB_INCLUDE_DIR)
|
||||
USOCKETS_DIR = $(BUN_DIR)/packages/bun-usockets
|
||||
|
||||
Reference in New Issue
Block a user