diff --git a/zen-expat.sh b/zen-expat.sh index 316e743..4499929 100755 --- a/zen-expat.sh +++ b/zen-expat.sh @@ -24,18 +24,13 @@ function expat_build { lazy_extract "expat.tar.xz" mkgit "expat" - mkdir -p expat/build/$host - pushDir expat/build/$host CFLAGS+=" -I$PREFIX/$host/include " \ LDFLAGS+=" -L$PREFIX/$host/lib " \ - ../../configure \ - --host=$host \ - --prefix=$PREFIX/$host - $MAKE - $MAKE install + autoconf_build $host "expat" \ + --enable-static \ + --disable-shared popDir - popDir } function expat_get_deps {