Skip to content

Commit

Permalink
optimized
Browse files Browse the repository at this point in the history
Signed-off-by: leleliu008 <[email protected]>
  • Loading branch information
leleliu008 committed Apr 22, 2024
1 parent d832045 commit 2252938
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions ndk-pkg
Original file line number Diff line number Diff line change
Expand Up @@ -8257,13 +8257,17 @@ EOF

MESON_SETUP_ARGS="$MESON_SETUP_ARGS -Ddefault_library=both"

MESON_COMPILE_ARGS="-C $PACKAGE_BCACHED_DIR -j $BUILD_NJOBS"
MESON_INSTALL_ARGS="-C $PACKAGE_BCACHED_DIR"
if [ "$PACKAGE_CREATE_FULLY_STATICALLY_LINKED_EXECUTABLE" = 1 ] ; then
MESON_SETUP_ARGS="$MESON_SETUP_ARGS --prefer-static"
fi

if [ "$LOG_LEVEL" -ge 3 ] ; then
MESON_COMPILE_ARGS="$MESON_COMPILE_ARGS -v"
fi

MESON_COMPILE_ARGS="-C $PACKAGE_BCACHED_DIR -j $BUILD_NJOBS"
MESON_INSTALL_ARGS="-C $PACKAGE_BCACHED_DIR"

run "$MESON" setup "$MESON_SETUP_ARGS" "$@" "$PACKAGE_BCACHED_DIR" "$PACKAGE_BSCRIPT_DIR" &&
run "$MESON" compile "$MESON_COMPILE_ARGS" &&
run "$MESON" install "$MESON_INSTALL_ARGS"
Expand Down

0 comments on commit 2252938

Please sign in to comment.