[FOLD] set static link flag