aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/eglibc/eglibc-2.15/add-prefix-to-var.patch
blob: 4c83aa25dd8c01ecd4a9b06140e1cb91809f34b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Upstream-Status: Pending

Signed-off-by: Saul Wold <sgw@linux.intel.com>


Index: libc/Makeconfig
===================================================================
--- libc.orig/Makeconfig
+++ libc/Makeconfig
@@ -293,7 +293,7 @@ inst_sysconfdir = $(install_root)$(sysco
 
 # Directory for the database files and Makefile for nss_db.
 ifndef vardbdir
-vardbdir = /var/db
+vardbdir = $(prefix)/var/db
 endif
 inst_vardbdir = $(install_root)$(vardbdir)