mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-24 20:16:32 +01:00
fix(avahi): export dbus pkg-config flags and libdir for header discovery
This commit is contained in:
parent
d588f4d83f
commit
57cd56af1f
1 changed files with 6 additions and 2 deletions
|
|
@ -5,11 +5,15 @@ src_prepare() {
|
||||||
}
|
}
|
||||||
|
|
||||||
src_configure() {
|
src_configure() {
|
||||||
local host_triplet
|
local host_triplet pkg_config_path
|
||||||
host_triplet="$(gcc -dumpmachine)"
|
host_triplet="$(gcc -dumpmachine)"
|
||||||
|
pkg_config_path="${LIBDIR}/pkgconfig:${PREFIX}/lib/pkgconfig:${PREFIX}/share/pkgconfig"
|
||||||
|
|
||||||
PATH="${PREFIX}/bin:/usr/bin:/bin" \
|
PATH="${PREFIX}/bin:/usr/bin:/bin" \
|
||||||
PKG_CONFIG_PATH="${LIBDIR}/pkgconfig:${PREFIX}/lib/pkgconfig" \
|
PKG_CONFIG_PATH="${pkg_config_path}" \
|
||||||
|
PKG_CONFIG_LIBDIR="${pkg_config_path}" \
|
||||||
|
DBUS_CFLAGS="$(pkg-config --cflags dbus-1)" \
|
||||||
|
DBUS_LIBS="$(pkg-config --libs dbus-1)" \
|
||||||
./configure \
|
./configure \
|
||||||
--prefix="${PREFIX}" \
|
--prefix="${PREFIX}" \
|
||||||
--libdir="${LIBDIR}" \
|
--libdir="${LIBDIR}" \
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue