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 Nov 3, 2023
1 parent 5b4ebd6 commit 28081de
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ppkg
Original file line number Diff line number Diff line change
Expand Up @@ -4627,7 +4627,8 @@ $DOT_CONTENT
LDFLAGS="-L$PACKAGE_INSTALLING_LIB_DIR $LDFLAGS"

if [ "$LINK_TYPE" = 'static-full' ] ; then
LDFLAGS="-static --static $LDFLAGS"
# using --static rather than -static, because it will be filtered out by libtool.
LDFLAGS="--static $LDFLAGS"
fi

export CFLAGS="$CCFLAGS"
Expand Down

0 comments on commit 28081de

Please sign in to comment.