Skip to content

Commit bca433e

Browse files
committed
fix libpciaccess
1 parent 94b28e1 commit bca433e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

scripts/build-library.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,8 +128,9 @@ if [ "${TARGET_OS}" = "Linux" ]; then
128128
LIBPCIACCESS_TAG_PREFIX="libpciaccess-"
129129
LIBPCIACCESS_VERSION="0.18.1" # get_latest_tag ${LIBPCIACCESS_REPO} ${LIBPCIACCESS_TAG_PREFIX}
130130
git_clone ${LIBPCIACCESS_REPO} ${LIBPCIACCESS_TAG_PREFIX}${LIBPCIACCESS_VERSION} ${LIBPCIACCESS_VERSION}
131-
do_configure "--enable-shared --disable-static --with-pic --with-zlib"
132-
do_make_and_make_install
131+
mkcd build
132+
do_meson "-Dzlib=true" ../
133+
do_ninja_and_ninja_install
133134
gen_implib ${PREFIX}/lib/{libpciaccess.so.0,libpciaccess.a}
134135
cp_archive ${PREFIX}/lib/libpciaccess.so* ${RUNTIME_LIB_DIR}
135136
rm ${PREFIX}/lib/libpciaccess{.so*,.la}

0 commit comments

Comments
 (0)