sqlite: fts5 extension requires we link with -lm

This commit is contained in:
nia 2020-10-29 16:35:33 +00:00
parent 8ecfd670fa
commit 7a30d56279
2 changed files with 5 additions and 1 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.10 2019/11/11 22:45:26 joerg Exp $ # $NetBSD: Makefile,v 1.11 2020/10/29 16:35:33 nia Exp $
LIB= sqlite3 LIB= sqlite3
INCS= sqlite3.h sqlite3ext.h INCS= sqlite3.h sqlite3ext.h
@ -8,6 +8,9 @@ SRCS= sqlite3.c
CFLAGS+= -DNDEBUG CFLAGS+= -DNDEBUG
LDADD+= -lm
DPADD+= ${LIBM}
FILES+= sqlite3.pc FILES+= sqlite3.pc
FILESOWN_sqlite3.pc= ${BINOWN} FILESOWN_sqlite3.pc= ${BINOWN}
FILESGRP_sqlite3.pc= ${BINGRP} FILESGRP_sqlite3.pc= ${BINGRP}

View File

@ -2,3 +2,4 @@ Name: SQLite
Description: SQL database engine Description: SQL database engine
Version: @VERSION@ Version: @VERSION@
Libs: -lsqlite3 Libs: -lsqlite3
Libs.private: -lm