Commit 3f4d8cbe authored by Marek Vavruša's avatar Marek Vavruša

build: link symbols as needed

this saves space for both library and daemon
parent be63f142
......@@ -16,6 +16,7 @@ ifeq ($(OS),Windows_NT)
BINEXT := .exe
UNAME := $(shell uname -s)
LDFLAGS += -Wl,--as-needed
ifeq ($(UNAME),Darwin)
PLATFORM := Darwin
LIBEXT := .dylib
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment