aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/pseudo/pseudo/static_sqlite.patch
blob: f9223a86ae8f665fd9ff0c78e6210529d860c263 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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