libpkgconf: pkg: include system libdir and includedir search paths as variables in builtin packages (closes #165)

feature/tap-sh
William Pitcock 2017-12-21 02:18:50 -06:00
parent 8a9b7d59df
commit a42f265c07
1 changed files with 27 additions and 9 deletions

View File

@ -884,15 +884,24 @@ static pkgconf_pkg_t pkg_config_virtual = {
.flags = PKGCONF_PKG_PROPF_STATIC,
.vars = {
.head = &(pkgconf_node_t){
.prev = NULL,
.next = NULL,
.next = &(pkgconf_node_t){
.next = &(pkgconf_node_t){
.data = &(pkgconf_tuple_t){
.key = "pc_system_libdirs",
.value = SYSTEM_LIBDIR,
}
},
.data = &(pkgconf_tuple_t){
.key = "pc_system_includedirs",
.value = SYSTEM_INCLUDEDIR,
}
},
.data = &(pkgconf_tuple_t){
.key = "pc_path",
.value = PKG_DEFAULT_PATH,
},
},
.tail = NULL,
},
}
}
};
static pkgconf_pkg_t pkgconf_virtual = {
@ -904,14 +913,23 @@ static pkgconf_pkg_t pkgconf_virtual = {
.flags = PKGCONF_PKG_PROPF_STATIC,
.vars = {
.head = &(pkgconf_node_t){
.prev = NULL,
.next = NULL,
.next = &(pkgconf_node_t){
.next = &(pkgconf_node_t){
.data = &(pkgconf_tuple_t){
.key = "pc_system_libdirs",
.value = SYSTEM_LIBDIR,
}
},
.data = &(pkgconf_tuple_t){
.key = "pc_system_includedirs",
.value = SYSTEM_INCLUDEDIR,
}
},
.data = &(pkgconf_tuple_t){
.key = "pc_path",
.value = PKG_DEFAULT_PATH,
},
},
.tail = NULL,
}
},
};