diff --git a/.github/workflows/fpliu-ndk-pkg-container.yml b/.github/workflows/fpliu-ndk-pkg-container.yml index b3b49ab..67baac9 100644 --- a/.github/workflows/fpliu-ndk-pkg-container.yml +++ b/.github/workflows/fpliu-ndk-pkg-container.yml @@ -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 @@ -28,7 +40,6 @@ jobs: - run: ndk-pkg sysinfo - - run: ndk-pkg integrate zsh - run: ndk-pkg update diff --git a/ndk-pkg b/ndk-pkg index 60af4c7..1280aaf 100755 --- a/ndk-pkg +++ b/ndk-pkg @@ -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