generic-poky/meta/recipes-devtools/pseudo/pseudo/static_sqlite.patch

18 lines
472 B
Diff

Due to disabling the LD_LIBRARY_PATH handling, we need to use a static
libsqlite.
Upstream-Status: Inappropriate [configuration]
diff -ur git.orig/Makefile.in git/Makefile.in
--- git.orig/Makefile.in
+++ git/Makefile.in
@@ -55,7 +55,7 @@
# needed for anything that links with pseduo_client.o, pretty much
CLIENT_LDFLAGS=-ldl -lpthread
-DB_LDFLAGS=-lsqlite3 -lpthread
+DB_LDFLAGS=$(SQLITE)/lib/libsqlite3.a -lpthread
PSEUDO=$(BIN)/pseudo
PSEUDODB=$(BIN)/pseudodb