From 85d8dd92f6ee21eab696a8648087e19563a3ad26 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Thomas=20P=C3=B6chtrager?= <t.poechtrager@gmail.com>
Date: Tue, 4 Jun 2019 18:23:36 +0200
Subject: [PATCH] Add '--with-libxar' to cctools/ld64 configure options

---
 build.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/build.sh b/build.sh
index 4ee24c4..5815a47 100755
--- a/build.sh
+++ b/build.sh
@@ -119,6 +119,7 @@ if [ $f_res -eq 1 ]; then
   if [ $NEED_TAPI_SUPPORT -eq 1 ]; then
     CONFFLAGS+="--with-libtapi=$TARGET_DIR "
   fi
+  CONFFLAGS+="--with-libxar=$TARGET_DIR "
   [ -z "$USE_CLANG_AS" ] && CONFFLAGS+="--disable-clang-as "
   [ -n "$DISABLE_LTO_SUPPORT" ] && CONFFLAGS+="--disable-lto-support "
   # https://github.com/tpoechtrager/osxcross/issues/156