Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions pg_ducklake/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,13 @@ endif
# resolves static archives in a single left-to-right pass.
PG_DUCKLAKE_LINK_FLAGS += -lssl -lcrypto -lstdc++ -llz4
ifneq ($(ROARING_LIB_DIR),)
PG_DUCKLAKE_LINK_FLAGS += -L$(ROARING_LIB_DIR)
# Link the vcpkg static archive by exact path: the pgxs -L/usr/lib prefix
# otherwise wins the search order and binds -lroaring to the ancient system
# libroaring.so (0.2.66), which lacks symbols like roaring_free.
PG_DUCKLAKE_LINK_FLAGS += $(ROARING_LIB_DIR)/libroaring.a
else
PG_DUCKLAKE_LINK_FLAGS += -lroaring
endif
PG_DUCKLAKE_LINK_FLAGS += -lroaring
ifneq ($(shell uname -s),Darwin)
PG_DUCKLAKE_LINK_FLAGS += -Wl,--exclude-libs,ALL
endif
Expand Down
Loading