diff options
Diffstat (limited to 'meta')
| -rw-r--r-- | meta/recipes-devtools/pseudo/files/libm.patch | 33 | ||||
| -rw-r--r-- | meta/recipes-devtools/pseudo/pseudo_git.bb | 1 |
2 files changed, 34 insertions, 0 deletions
diff --git a/meta/recipes-devtools/pseudo/files/libm.patch b/meta/recipes-devtools/pseudo/files/libm.patch new file mode 100644 index 0000000000..1a82979313 --- /dev/null +++ b/meta/recipes-devtools/pseudo/files/libm.patch | |||
| @@ -0,0 +1,33 @@ | |||
| 1 | If sqlite3 is built with FTS5 enabled then it links to libm.so for log(), but if | ||
| 2 | we statically link to libsqlite3.a then this linkage is lost. | ||
| 3 | |||
| 4 | Work around this by always linking to libm.so. | ||
| 5 | |||
| 6 | Upstream-Status: Submitted | ||
| 7 | Signed-off-by: Ross Burton <ross.burton@intel.com> | ||
| 8 | |||
| 9 | From 4633a8750f0966621d258548fba82bc6aa5aa997 Mon Sep 17 00:00:00 2001 | ||
| 10 | From: Ross Burton <ross.burton@intel.com> | ||
| 11 | Date: Tue, 6 Nov 2018 12:13:17 +0000 | ||
| 12 | Subject: [PATCH] Makefile: sqlite can need libm | ||
| 13 | |||
| 14 | --- | ||
| 15 | Makefile.in | 2 +- | ||
| 16 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 17 | |||
| 18 | diff --git a/Makefile.in b/Makefile.in | ||
| 19 | index ad6541b..28b5ecb 100644 | ||
| 20 | --- a/Makefile.in | ||
| 21 | +++ b/Makefile.in | ||
| 22 | @@ -73,7 +73,7 @@ WRAPOBJS=pseudo_wrappers.o | ||
| 23 | |||
| 24 | # needed for anything that links with pseduo_client.o, pretty much | ||
| 25 | CLIENT_LDFLAGS=-ldl -lpthread | ||
| 26 | -DB_LDFLAGS=@SQLITE_LDARG@ -lpthread | ||
| 27 | +DB_LDFLAGS=@SQLITE_LDARG@ -lpthread -lm | ||
| 28 | |||
| 29 | PSEUDO=$(BIN)/pseudo | ||
| 30 | PSEUDODB=$(BIN)/pseudodb | ||
| 31 | -- | ||
| 32 | 2.11.0 | ||
| 33 | |||
diff --git a/meta/recipes-devtools/pseudo/pseudo_git.bb b/meta/recipes-devtools/pseudo/pseudo_git.bb index 79e0b6bd21..c9a4ecd2e2 100644 --- a/meta/recipes-devtools/pseudo/pseudo_git.bb +++ b/meta/recipes-devtools/pseudo/pseudo_git.bb | |||
| @@ -2,6 +2,7 @@ require pseudo.inc | |||
| 2 | 2 | ||
| 3 | SRC_URI = "git://git.yoctoproject.org/pseudo \ | 3 | SRC_URI = "git://git.yoctoproject.org/pseudo \ |
| 4 | file://0001-configure-Prune-PIE-flags.patch \ | 4 | file://0001-configure-Prune-PIE-flags.patch \ |
| 5 | file://libm.patch \ | ||
| 5 | file://fallback-passwd \ | 6 | file://fallback-passwd \ |
| 6 | file://fallback-group \ | 7 | file://fallback-group \ |
| 7 | file://moreretries.patch \ | 8 | file://moreretries.patch \ |
