Skip to content

Commit

Permalink
optimized
Browse files Browse the repository at this point in the history
  • Loading branch information
leleliu008 committed Sep 3, 2024
1 parent 9058f9d commit e980086
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ppkg
Original file line number Diff line number Diff line change
Expand Up @@ -3559,10 +3559,10 @@ EOF

MESON_SETUP_ARGS="--prefix=$PACKAGE_INSTALL_DIR --buildtype=$PROFILE --backend=ninja --pkg-config-path=$PKG_CONFIG_PATH --build.pkg-config-path=$PKG_CONFIG_PATH_FOR_BUILD --native-file=$MESON_NATIVE_FILE -Dlibdir=lib"

MESON_SETUP_ARGS="$MESON_SETUP_ARGS -Ddefault_library=both"

if [ "$PACKAGE_PKGTYPE" = exe ] || [ "$PACKAGE_PKGTYPE" = pie ] ; then
MESON_SETUP_ARGS="$MESON_SETUP_ARGS --prefer-static"
MESON_SETUP_ARGS="$MESON_SETUP_ARGS -Ddefault_library=static --prefer-static"
else
MESON_SETUP_ARGS="$MESON_SETUP_ARGS -Ddefault_library=both"
fi

MESON_COMPILE_ARGS="-C $PACKAGE_BCACHED_DIR -j $BUILD_NJOBS"
Expand Down Expand Up @@ -9048,7 +9048,7 @@ fi
fi
}

PPKG_VERSION=0.9.2
PPKG_VERSION=0.9.3

PPKG_ARG0="$0"
PPKG_ARG1="$1"
Expand Down

0 comments on commit e980086

Please sign in to comment.