Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/public-domain/sqlite/lib sqlite: fts5 extension req...



details:   https://anonhg.NetBSD.org/src/rev/6d0da562af69
branches:  trunk
changeset: 1015645:6d0da562af69
user:      nia <nia%NetBSD.org@localhost>
date:      Thu Oct 29 16:35:33 2020 +0000

description:
sqlite: fts5 extension requires we link with -lm

diffstat:

 external/public-domain/sqlite/lib/Makefile      |  5 ++++-
 external/public-domain/sqlite/lib/sqlite3.pc.in |  1 +
 2 files changed, 5 insertions(+), 1 deletions(-)

diffs (27 lines):

diff -r 26dda937072d -r 6d0da562af69 external/public-domain/sqlite/lib/Makefile
--- a/external/public-domain/sqlite/lib/Makefile        Thu Oct 29 12:38:06 2020 +0000
+++ b/external/public-domain/sqlite/lib/Makefile        Thu Oct 29 16:35:33 2020 +0000
@@ -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
 INCS=          sqlite3.h sqlite3ext.h
@@ -8,6 +8,9 @@
 
 CFLAGS+=       -DNDEBUG
 
+LDADD+=                -lm
+DPADD+=                ${LIBM}
+
 FILES+=                        sqlite3.pc
 FILESOWN_sqlite3.pc=   ${BINOWN}
 FILESGRP_sqlite3.pc=   ${BINGRP}
diff -r 26dda937072d -r 6d0da562af69 external/public-domain/sqlite/lib/sqlite3.pc.in
--- a/external/public-domain/sqlite/lib/sqlite3.pc.in   Thu Oct 29 12:38:06 2020 +0000
+++ b/external/public-domain/sqlite/lib/sqlite3.pc.in   Thu Oct 29 16:35:33 2020 +0000
@@ -2,3 +2,4 @@
 Description: SQL database engine
 Version: @VERSION@
 Libs: -lsqlite3
+Libs.private: -lm



Home | Main Index | Thread Index | Old Index