Skip to content

Commit

Permalink
optimized
Browse files Browse the repository at this point in the history
  • Loading branch information
leleliu008 committed Sep 28, 2024
1 parent 387798a commit 67bf675
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 4 deletions.
13 changes: 12 additions & 1 deletion .github/workflows/fpliu-ndk-pkg-container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,18 @@ jobs:
container: fpliu/ndk-pkg

steps:
- run: ndk-pkg --help
- run: ndk-pkg -h

- run: ndk-pkg --version
- run: ndk-pkg -V

- run: ndk-pkg about

- run: ndk-pkg setup

- run: ndk-pkg sysinfo

- run: ndk-pkg upgrade-self

- run: ndk-pkg --help
Expand All @@ -28,7 +40,6 @@ jobs:

- run: ndk-pkg sysinfo


- run: ndk-pkg integrate zsh

- run: ndk-pkg update
Expand Down
6 changes: 3 additions & 3 deletions ndk-pkg
Original file line number Diff line number Diff line change
Expand Up @@ -7878,10 +7878,10 @@ configure() {
fi

if [ -z "$CONFIGURE_ARG_ENABLE_SHARED" ] ; then
if [ "$PACKAGE_PKGTYPE" = lib ] ; then
CONFIGURE_ARGS="$CONFIGURE_ARGS --enable-shared"
else
if [ "$PACKAGE_PKGTYPE" = exe ] || [ "$PACKAGE_PKGTYPE" = pie ] ; then
CONFIGURE_ARGS="$CONFIGURE_ARGS --disable-shared"
else
CONFIGURE_ARGS="$CONFIGURE_ARGS --enable-shared"
fi
fi

Expand Down

0 comments on commit 67bf675

Please sign in to comment.