From 683da737ddba194834103c0d93abb2d2651984f1 Mon Sep 17 00:00:00 2001 From: superconvert <48017165+superconvert@users.noreply.github.com> Date: Tue, 9 Aug 2022 08:06:05 +0800 Subject: [PATCH] Update mk_xorg.sh --- mk_xorg.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/mk_xorg.sh b/mk_xorg.sh index e284f3d..7fe62a5 100755 --- a/mk_xorg.sh +++ b/mk_xorg.sh @@ -71,13 +71,13 @@ fi #-------------------------------------------- # 解决 libxcb 编译问题 -mkdir -pv ${xorg_install}/xclient/usr/share/aclocal -mkdir -pv ${xorg_install}/xclient/usr/local/share/aclocal +mkdir -pv ${xclient_dir}/usr/share/aclocal +mkdir -pv ${xclient_dir}/usr/local/share/aclocal -export CFGOPT="--prefix=/usr --with-sysroot=${xorg_install}/xclient --with-build-sysroot=${xorg_install}/xclient" -export CFLAGS="-I${xorg_install}/xclient/usr/include" -export LDFLAGS="-L${xorg_install}/xclient/usr/lib" -export ACLOCAL="aclocal -I /usr/share/aclocal -I ${xorg_install}/xclient/usr/share/aclocal -I ${xorg_install}/xclient/usr/local/share/aclocal" +export CFGOPT="--prefix=/usr --with-sysroot=${xclient_dir} --with-build-sysroot=${xclient_dir}" +export CFLAGS="-I${xclient_dir}/usr/include" +export LDFLAGS="-L${xclient_dir}/usr/lib" +export ACLOCAL="aclocal -I /usr/share/aclocal -I ${xclient_dir}/usr/share/aclocal -I ${xclient_dir}/usr/local/share/aclocal" # 解决 libxcb 编译问题 export PKG_CONFIG_SYSROOT_DIR="${xclient_dir}"