aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--databases/ldb22/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/databases/ldb22/Makefile b/databases/ldb22/Makefile
index cd97a646c97a..7b49fdec3420 100644
--- a/databases/ldb22/Makefile
+++ b/databases/ldb22/Makefile
@@ -94,6 +94,11 @@ PLIST_FILES= include/ldb_version.h \
CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
+# Some symbols in ldb's linker version scripts are not defined, but since the
+# scripts are generated dynamically, suppress errors with lld >= 17 due to these
+# undefined symbols.
+LDFLAGS+= -Wl,--undefined-version
+
.if ! ${PORT_OPTIONS:MMANPAGES}
CONFIGURE_ENV+= XSLTPROC="true"
.else